Compute the effective access a user has across all entities in an organization.
Resolves and returns the effective access level a user has for each entity, taking into account direct grants, department-based grants, role-based grants, and composite slice membership. Each entity entry includes grant paths showing how access was derived.
organization_id string required
The unique identifier of the organization (format: org_*).
user_id string required
The unique identifier of the user (format: usr_*).
entity_type string optional
Filter results to a specific entity type. Allowed values: knowledge_slice, vector_store, assistant.
A resolved access response containing the user_id and an entities array. Each entity includes entity_type, entity_id, access_level (the highest effective level), and grant_paths explaining how access was derived.
- Bash
- Python
- Python
- JavaScript
curl -s -X GET "https://api.aitronos.com/v1/organizations/org_xyz789/users/usr_def456/resolved-access?entity_type=knowledge_slice" \
-H "Authorization: Bearer $ACCESS_TOKEN"