Sessions
Mint a runtime session token
Call from YOUR backend with a secret key. Returns a short-lived token your end-user’s browser passes to @alakazamworld/embed. Reserves one session against your daily quota.
POST
Mint a runtime session token
Authorizations
An app API key, e.g. Authorization: Bearer sk_live_…. Secret (sk_) for writes/sessions; publishable (pk_) for read/embed.
Body
application/json
Previous
Exchange a session token for a runtime connect tokenCalled from the EMBED'S BROWSER with the session token (the token IS the auth — no API key). Admits the session under your per-tenant + the global concurrency caps and your daily session-minutes budget, then returns a short-lived runtime connect token plus the world to play. All cost controls are enforced here.
Next
Mint a runtime session token