Concepts
The words Muzekit uses, and how the pieces fit together.
ws_…mk_test_…mk_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
- 1Your server
Muzekit API
POST /v1/sessionsthe user, the mode, a template - 2
Muzekit APIYour server
client_secretsingle use, 10 minutes - 3Your serverYour pagehands the secret to the page
- 4Your page
Muzekit API
Muzekit.mountexchanges itchecked against your allowed domains - 5
Muzekit APIYour page
editor opens for that usertoken refreshes while it's open
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.