Inspect the calling API key (caller introspection)
Returns the resolved API key’s identity: its scopes (capabilities), bound user/agent/org, and last-used metadata. Useful for clients to confirm scope and identity before issuing privileged calls.
Authorizations
Mnemom API key (mnm_... format)
Response
Caller identity.
Caller introspection — the principal authenticated for this request. Returned by GET /v1/api-keys/whoami. The handler is generalized across cookie, jwt, and api_key auth methods, so the API-key-specific fields (key_id, account_id, scopes) are null on cookie/JWT principals.
Authenticated principal identifier (Supabase user UUID for cookie/JWT auth; api-key-bound user UUID for api_key auth).
cookie, jwt, api_key API key id (e.g. mnk_...), or null for cookie/JWT auth.
Billing account id, or null for cookie/JWT auth.
Capability scopes (ADR-049) for api-key auth; null for cookie/JWT. e.g., ['gateway.send', 'gateway.observe'].