Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
List Scopes
GET /v1/scopes
Returns all permission scopes available to the authenticated tenant. This includes platform-defined built-in scopes and any custom scopes created by the tenant. Scopes follow the resource:action format defined by the MAIP protocol.
Authentication
RequiresX-API-Key header or Bearer JWT token. Tenant-scoped via X-Tenant-ID.
Query Parameters
Filter scopes by category. One of:
"data", "model", "tool", "agent",
"admin", "receipt", "custom". Omit to return all categories.Response
Returns an array of scope definition objects.UUID of the scope definition.
UUID of the tenant that owns this scope.
null for platform-level built-in
scopes.The full scope string in
resource:action format (e.g., "data:read",
"model:train").The resource component of the scope (e.g.,
"data", "model", "tool").The action component of the scope (e.g.,
"read", "write", "*").Human-readable name for the scope.
Detailed description of what the scope grants access to.
Scope category for organizational purposes.
true for platform-defined scopes, false for tenant-created custom scopes.ISO 8601 creation timestamp.
Example
Built-in Scope Categories
The platform provides 25+ built-in scopes across 6 categories:| Category | Scopes | Description |
|---|---|---|
data | read, write, delete, * | Data resource access |
model | train, evaluate, deploy, attest, * | ML model lifecycle |
tool | search.web, search.db, execute, * | Tool invocation |
agent | delegate, manage, inspect, * | Agent lifecycle management |
admin | config, audit, billing, * | Administrative operations |
receipt | create, verify, revoke, * | Receipt management |

