A login session may also be presented as the
myna_session HttpOnly cookie set by POST /auth/login; the header wins over the cookie.
Scopes
API keys carry scopes. Requests without the required scope return403.
Get a key
Create a key in the dashboard, or via the API with an existingapi_keys:write key:
You can only grant a new key scopes your current credential already holds. Requesting a
broader scope returns
403 and creates nothing.Rotate a key
- Create a new key (above) and deploy it.
- Revoke the old key:
Security notes
- Keys are stored as hashes only and are never logged.
- Participant tokens are returned only when a session is created — never in list/get responses.
- Tenant isolation is enforced on every query by workspace.
- Key revocation takes effect immediately.

