Skip to main content
GET
Operator identity and role (admin console)

Authorizations

Authorization
string
header
required

Clerk dashboard session JWT. Used on dashboard, billing, playground, and admin console routes only:

These are human-session credentials, not API keys. The dashboard frontend must never send authoritative account IDs, plan values, quota counters, Stripe IDs, or API-key actor fields — the server derives ownership from the session. Admin console routes additionally require the custom admin_role claim (admin or support) on the same verified session JWT; writes require admin.

Response

Operator identity.

clerk_user_id
string
required
role
enum<string>
required

Staff role delivered as the custom admin_role Clerk session-JWT claim (set from Clerk publicMetadata via session token customization). admin reads and writes; support is read-only (writes → 403 ADMIN_ROLE_REQUIRED).

Available options:
admin,
support