Skip to main content

Token minting

POST /api/v1/embed/chart-sessions

Auth

Bearer API key with embed:chart permission. Session cookie auth is not supported for this route.

Request

frameOrigin must exactly match an entry in EMBED_ALLOWED_FRAME_ORIGINS (bare origin, no trailing slash).

Response

Tokens are Ed25519 JWTs with kid in the header. Public keys ship in the pinned embed bundle.

What the token is for

Metering and licensing. Framing is enforced by CSP frame-ancestors, which the browser applies regardless of client-side verification.