Retrieve a paginated list of access grants for an organization, with optional filters.
Returns access grants matching the specified filters. You can filter by entity type, entity ID, grantee type, and grantee ID. Results are paginated.
organization_id string required
The unique identifier of the organization (format: org_*).
entity_type string optional
Filter by entity type. Allowed values: knowledge_slice, vector_store, assistant.
entity_id string optional
Filter by entity ID.
grantee_type string optional
Filter by grantee type. Allowed values: user, department, role.
grantee_id string optional
Filter by grantee ID.
skip integer optional · Defaults to 0
Number of items to skip for pagination.
limit integer optional · Defaults to 20
Maximum number of items to return (1-100).
A paginated list of access grant objects with items, total, skip, limit, and has_more fields.
- Bash
- Python
- Python
- JavaScript
curl -s -X GET "https://api.aitronos.com/v1/organizations/org_xyz789/access/grants?entity_type=knowledge_slice&limit=10" \
-H "Authorization: Bearer $ACCESS_TOKEN"