Who Am I
Get current identity and permissions
Changed onRetrieve the authenticated caller's own identity, API key scope, organization role, and resolved per-model permissions. Useful for allowing a caller to determine if they can execute a specific action without attempting it. Pass modelId to scope rolesByModel to specific models.
This endpoint can be used by any user with a valid API key.
get/v1/whoami
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/whoami
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
modelIdstring
Example:550e8400-e29b-41d4-a716-446655440000
Optional model filter. A single model ID or a comma-separated list.
When provided, rolesByModel in the response will contain 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"
}Changes
- info
endpoint added
- info