latestOpenAPI 3.0.32026-08-137683171.1 KB

be08f4f706f5

Identity

Get authenticated caller

Returns the user row, role row, and resolved permission list for the authenticated caller, derived from the auth context's own auth_lookup_by_cognito_id. Unlike GET /users/{id} and GET /roles, this endpoint is keyed to the JWT (not to the currently viewed organization), so it works for super-admins whose user/role rows live in the cluster-internal org but who are viewing a different tenant. Authenticated callers always have permission to read their own identity, so the route is not gated by a Requires(...) permission check.

get/me

Response

Success