v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBGet current identity and permissions (whoami)
Returns the authenticated caller's own identity, API key scope, organization role, and resolved per-model permissions. Self-scoped and available to non-admins: it lets a caller decide whether an action is permitted without attempting it. Pass modelId to scope rolesByModel to specific models.
Query parameters
Optional model filter. A single model id or a comma-separated list. When provided, rolesByModel contains only these models. When omitted, models the caller can access are returned (up to a limit; see rolesByModelTruncated).
Optional model filter. A single model id or a comma-separated list. When provided, rolesByModel contains only these models. When omitted, models the caller can access are returned (up to a limit; see rolesByModelTruncated).
Response
Caller's identity, key scope, org role, and per-model permissions
Example response
{
"orgRole": "MEMBER"
}