Concepts

The words Muzekit uses, and how the pieces fit together.

View as Markdown
Your editorone workspace, ws_…
Testmk_test_…
Building and QA. Localhost is allowed and free.
Copy to Live
Livemk_live_…
Your real users, on your production domains.
Each environment has its own
API keysAllowed domainsWebhooksTemplatesLook and FeaturesEnd users and their designsSessions and renders
Shared by both
Members and rolesBrand kitLibrary picksPlan and billing
One editor, two environments. Build in Test, then copy it to Live.

Workspace

One workspace is one editor, embedded in one product. It holds your members, keys, settings, end users, templates and assets. Pricing is per workspace, and every plan starts with a 15-day free trial.

Environments

Every editor has two environments, on every plan: Test (mk_test_… keys) and Live (mk_live_…), each with its own data. Build in Test, where localhost is always allowed and free; Live keys only ever see Live data. Copy to Live moves your templates, look and features across.

End users

The people inside your product who use the editor. They never sign in to Muzekit: your server opens a session for them with your own user id. In the API they are users (usr_…).

Templates

Everything made in the editor is a template (tpl_…). Workspace templates are made by your team or the API; user templates belong to one end user. A template's content lives in its current version (ver_…); saving updates it in place, guarded by a revision number.

Sessions

A session opens the editor for one user, in one mode, optionally on one template. Your server creates it with a secret key; the editor exchanges its single-use client secret for a short token bound to your page's domain.

  • Your serverholds the secret key
  • Muzekit APIapi.muzekit.com
  • Your pagethe SDK and the editor
  1. 1
    Your serverMuzekit API
    POST /v1/sessions
    the user, the mode, a template
  2. 2
    Muzekit APIYour server
    client_secret
    single use, 10 minutes
  3. 3
    Your serverYour page
    hands the secret to the page
  4. 4
    Your pageMuzekit API
    Muzekit.mount exchanges it
    checked against your allowed domains
  5. 5
    Muzekit APIYour page
    editor opens for that user
    token refreshes while it's open
Your users never hold a key or see a Muzekit login.

Sessions are what plans count. One session is one person opening the editor; the same person reopening the same template within 10 minutes is the same session. Test sessions on localhost are free up to a fair-use cap, and sessions opened from the Muzekit dashboard never count. Each time one of your users' AI apps works in your editor counts as a session too (MCP).

Members

Your team in the dashboard: owner, admin, designer, reviewer, each with its own role. Members sign in to Muzekit; end users never do. An AI app a member connects works with that member's role.

IDs

All ids are opaque strings with a prefix: ws_, usr_, tpl_, ver_, ast_, rnd_, key_, ses_. Store them as strings; never parse them.