Concepts
Scopes
A scope names what a credential may do in one service. The gateway checks the operation's scope before the request reaches the service, and refuses with 403 SCOPE_MISSING and the scope it needed.
The rule
For most services the scope is <service>:read for GET and <service>:write for everything else.
- Write includes read. A key with
hives:writecan call everyhives:readoperation. flocks:adminincludesflocks:readandflocks:write.auto:*includesauto:readandauto:write.- Lanes treats its read-only
POSTs (retrieve, snapshots, cache lookup and tenant export) aslanes:read. - Gears uses one scope per resource and verb:
gears.workflows.read,gears.workflows.write,gears.runs.read,gears.runs.write,gears.signals.write, andgears.operations.read(orgears.audit.read) for operational records. - Gears also accepts the coarse
gears:read(for reads),gears:writeandgears.*(for everything). - Beacons device enrollment (
device-challenges,device-enrollments) needsbeacons:device:enroll. - Foundry inference and generation reads need
foundry:gateway:invoke, a scope delegated to a signed-in session; files, fine-tuning, batches, activity and analytics needadmin; provider keys and credential policies neediam:readoriam:write; the model catalog and registry need no credential. - Traces treats its read-only
POSTs (search, extract, scrape, map, picture and the coding lookups) astraces:read; key administration and deletes needtraces:delete. - Minds names a scope per operation:
minds:read,minds:writeorminds:manage.minds:managedoes not imply read, so an engine route needsminds:readas well. - Foundry's keys, billing and request logs are authorized by the service itself for the signed-in person; the gateway publishes no scope for them.
- An operation marked Person only takes the person's own signed-in session; an organization API key is refused there, whatever its scopes.
Each operation in the API reference shows its scope next to its endpoint.
When a scope is missing
{
"error": {
"type": "forbidden",
"code": "SCOPE_MISSING",
"message": "The credential lacks the scope named in required_scope.",
"request_id": "02f92096-3625-4ff2-a6ff-87df16d75e0f",
"docs_url": "https://os.one.ml/api/v1/errors#SCOPE_MISSING",
"required_scope": "hives:write"
}
}Create a key with required_scope added, or ask an organization owner or admin to. A key's scopes are fixed when it is created.
Choosing scopes
- Give each key the fewest scopes it needs: a deploy job needs
hives:write; a dashboard needs onlyhives:read. - An organization owner can put every scope listed below on a key, the admin scopes included. An admin can put on a key only the scopes their own role holds.
genesis whoamiandGET /v1/whoamilist a credential's scopes.
Creating a key with elevated scopes
The admin and money scopes are elevated: scopes:admin, traces:admin, foundry:admin, boxes:admin, flocks:admin, ci:admin, loom:admin, tides:admin, pacts:sign and genesis.billing.manage. All standard scopes never ticks them. To put one on a key, choose it on its own; the Console then asks you to confirm before it creates the key.
The Console's key route takes the same confirmation as a field. A request that carries an elevated scope without it is refused with 400 ELEVATED_SCOPES_UNCONFIRMED and no key is made:
POST /api/console/v1/keys/organization
Content-Type: application/json
{
"name": "ops admin",
"scopes": ["boxes:admin", "scopes:admin", "flocks:admin"],
"environment": "sandbox",
"expiresAt": "2027-01-01T00:00:00Z",
"confirmElevated": true
}The route needs your own signed-in Console session (an organization owner or admin); API keys and M2M tokens cannot create keys (403 IAM_KEYS_HUMAN_REQUIRED). genesis.billing.manage is put on a key only from the owner's own Console sign-in, never from another session. The key is shown once, in the answer's secret.
Every scope by service
| Service | Scopes | Notes |
|---|---|---|
| agent-links | agent-links:read agent-links:write | |
| Auto | auto:read auto:write | |
| Beacons | beacons:device:enroll beacons:read beacons:write | 8 operations authorized by the service |
| Blinds | blinds:read blinds:write | |
| Boxes | boxes:read boxes:write | 25 operations authorized by the service |
| Brews | brews:read brews:write | |
| CI | ci:admin ci:read ci:write | |
| company-md | company-md:read company-md:write | |
| Connections | connections:read connections:write | |
| Dials | dials:read dials:write | 9 operations authorized by the service |
| Flares | flares:read flares:write | |
| Fleets | fleets:read fleets:write | |
| Flocks | flocks:read flocks:write | |
| Foundry | admin foundry:gateway:invoke genesis.billing.read iam:read iam:write | 77 operations authorized by the service |
| Garden | garden:bank:link garden:bank:read garden:bank:summary garden:manage garden:read garden:wallets:link garden:wallets:read garden:write | 1 operation authorized by the service |
| Gears | gears.operations.read gears.runs.read gears.runs.write gears.signals.write gears.workflows.read gears.workflows.write | 27 operations authorized by the service |
| Graphs | graphs:read graphs:write | |
| Henry | henry:read henry:write | |
| Hives | hives:read hives:write | 1 operation authorized by the service |
| IAM | iam:read iam:write | |
| Lanes | lanes:read lanes:write | |
| Loom | loom:admin loom:read loom:write | |
| Lots | lots:read lots:review lots:write | |
| Markets | markets:read | |
| meetings | meetings:read meetings:write | |
| Minds | minds:manage minds:read minds:write minds:write minds:service_only | 16 operations authorized by the service |
| News | news:read | |
| One | one:read one:write | |
| Orders | orders:read orders:write | |
| Orgs | orgs:read orgs:write | |
| Pacts | pacts:read pacts:sign pacts:write | 34 operations authorized by the service |
| Panes | panes:read panes:write | |
| Relays | relays:read relays:write | |
| Rigs | rigs:read rigs:write | |
| Runner | runner:read runner:write | |
| Scopes | scopes:admin scopes:read scopes:write | |
| Shells | shells:read shells:write | |
| Silos | silos:read silos:write | |
| Taps | taps:read taps:write | 2 operations authorized by the service |
| Tides | tides:read tides:write | |
| Traces | traces:delete traces:read traces:write | 1 operation authorized by the service |
| Weather | weather:read | |
| Wiki | wiki:read wiki:write | |
| Zaps | zaps:read zaps:write |
L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support