Skip to content
Last updated

Compute the effective access a user has across all entities in an organization.

GEThttps://api.aitronos.com/v1/organizations/{organization_id}/users/{user_id}/resolved-access

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.

Path Parameters

organization_id string required

The unique identifier of the organization (format: org_*).

user_id string required

The unique identifier of the user (format: usr_*).

Query Parameters

entity_type string optional

Filter results to a specific entity type. Allowed values: knowledge_slice, vector_store, assistant.


Returns

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.

cURL
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"