v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
identity

Get the current caller's identity, role, and KB clearance

Resolve the authenticated caller's own identity, role, and KB clearance.

Authenticated only — no org-scope and no permission gate — so every role (including org:viewer) can read its own context to drive UI gating. Backend RBAC still enforces every mutation; this endpoint grants nothing.

get/v1/identity/whoami

Response

Successful Response

user_idstring uuid required
clerk_user_idstring required
emailstring nullable
display_namestring nullable
rolestring required
organization_idstring uuid required
organization_namestring required
kb_clearance_levelinteger required
kb_acl_enabledboolean required
All 491 operations