APIAuth
Get permissions
Get the current user's effective permissions.
GET
Get the current user's effective permissions.
ApiKeyAuthheader
AuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
No permission required.
The request has succeeded.
application/json- response
The current caller's identity and everything they are allowed to do.
grants*array<>The permissions the caller holds.
user_id*uuidFormat
uuidcurl -X GET "https://example.com/auth/permissions"{ "grants": [ { "permission": "view_agents", "scope": "all", "group": "string", "description": "string", "grantable": true, "scopable": true } ], "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"}