Skip to main content
GET
Get the current caller's identity, role, and KB clearance

Authorizations

x-api-key
string
header
required

Response

Successful Response

The authenticated caller's own identity + resolved role and KB clearance.

Returned by GET /identity/whoami so the dashboard can learn the caller's role (Clerk org:*) and effective KB clearance for client-side gating without an org-scoped or admin-only call. Backend RBAC remains the source of truth for every mutation; this only drives UI affordances.

user_id
string<uuid>
required
clerk_user_id
string
required
role
string
required
organization_id
string<uuid>
required
organization_name
string
required
kb_clearance_level
integer
required
kb_acl_enabled
boolean
required
email
string | null
display_name
string | null
is_internal
boolean
default:false