Use these endpoints to check at runtime whether the current user has access to a specific capability. The evaluation endpoints resolve the caller’s full effective privilege set — combining role grants, direct user grants, direct denies, and policies — and return the result in a format optimized for front-end permission gating. Both evaluation endpoints require only an authenticated user (Bearer token); no elevated policy is needed.Documentation Index
Fetch the complete documentation index at: https://alphabet-06152314.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check a single privilege
Path parameters
The dot-notation name of the privilege to check — for example,
report.export. This is the same name field used when creating a privilege.Responses
Returned when the current user’s identity cannot be resolved from the Bearer token. Ensure the token is valid and contains a subject claim.
Example
Batch-check privileges
Request body
Array of dot-notation privilege names to evaluate — for example,
["report.export", "users.invite", "admin.access"].Response — 200 OK
A flat dictionary where each key is a privilege name and the value istrue if the authenticated user currently holds that privilege, or false if they do not.
true if the user holds this privilege; false otherwise. The response contains one entry per name submitted in the request body.Example
Admin analytics and audit
The following endpoints require the PrivilegeManagers authorization policy.Get privilege analytics
Response — 200 OK
Total number of privilege definitions in the catalog, including deprecated ones.
Number of privileges that are currently assigned to at least one role, user, or policy.
List of privilege names that exist in the catalog but are not assigned anywhere. These are candidates for cleanup.
Summary of recent assignment and revocation events. Structure varies by implementation.
Query privilege audit logs
Query parameters
Filter to events involving this user.
Filter to events involving this privilege.
Filter to a specific action type, for example
Assigned or Revoked.Return only events that occurred on or after this timestamp.
Return only events that occurred on or before this timestamp.
Maximum number of records to return.
Number of records to skip for pagination.
Response — 200 OK
Export the privilege catalog
Query parameters
Output format. Accepted values:
json— returns a JSON array of privilege objects.csv— returns a CSV file with columnsId,Name,DisplayName,Category,IsDeprecated,IsGlobal.
Response — 200 OK
The response body is either a JSON array or a CSV file depending on theformat parameter. The Content-Type header is application/json for JSON and text/csv for CSV. When format=csv, the response includes a Content-Disposition header with the filename privileges.csv.