Mint Space Embed Token
Mint a short-lived (~1h) embed token scoped to this space, so the grounding surface can render AND edit its output in a browser without the org API key. Requires space:read. Returns { token, expiresAt }; send it as a Bearer to this space’s file-detail, run-result, and doc-edit routes.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
spaceId
Response
A minted embed token and its expiry.
token
Send as a Bearer token. Scoped to this one space.
expiresAt
Roughly one hour out.
Errors
503
Service Unavailable Error