scopes claim. Each AgentOS endpoint requires one or more scopes; requests with insufficient scopes return 403 Forbidden.
Scope Format
Scopes are hierarchical:| Format | Example | Description |
|---|---|---|
resource:action | agents:read | Access all resources of a type |
resource:<id>:action | agents:my-agent:run | Access a specific resource |
resource:*:action | agents:*:read | Wildcard (equivalent to global) |
agent_os:admin | - | Full access to all endpoints |
Scope Reference
Scopes split across two enforcement layers. AgentOs control plane scopes are checked by the control plane. AgentOS scopes are checked by your runtime against incoming requests. Anyresource:action scope also accepts a resource:<id>:action form to limit access to a specific resource. See Scope Format.
The agent_os:admin scope grants full access to every AgentOS endpoint below.
AgentOS Control Plane Scopes
| Scope | Description |
|---|---|
os:read | View AgentOS instances in the organization |
os:write | Create and update AgentOS instances |
os:delete | Delete AgentOS instances |
org:read | View organization details |
org:write | Update organization details |
org:delete | Delete the organization |
org:members:read | View organization members |
org:members:write | Invite and update organization members |
org:roles:read | View organization roles and their scope assignments |
org:roles:write | Create and update organization role scopes |
org:roles:delete | Delete organization roles |
billing:read | View billing details and invoices |
billing:write | Update billing settings and payment methods |
AgentOS Scopes
- Config
- Registry
- Components
- Agents
- Teams
- Workflows
- Sessions
- Memories
- Knowledge
- Metrics
- Evals
- Traces
- Schedules
- Approvals
| Scope | Endpoint | Description |
|---|---|---|
config:read | GET /config | Read the OS configuration |
config:read | GET /models | List available models |
config:write | POST /databases/all/migrate | Run migrations on all databases |
config:write | POST /databases/*/migrate | Run migrations on a specific database |
Access Prerequisites
A few scopes gate access in the control plane. Without them, finer-grained scopes have no effect because the user cannot reach the resources they apply to.| Scope | Without it, the user cannot |
|---|---|
org:read | Access the organization at all |
os:read | List AgentOS instances in the organization |
config:read | Use any AgentOS endpoint (the UI loads /config on startup) |
Next Steps
| Task | Guide |
|---|---|
| Bundle scopes into roles | Roles |
| Override scope-to-endpoint mappings | Customization |