OneOS Docs
Genesis 0.3.3 Console

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:write can call every hives:read operation.
  • flocks:admin includes flocks:read and flocks:write.
  • auto:* includes auto:read and auto:write.
  • Lanes treats its read-only POSTs (retrieve, snapshots, cache lookup and tenant export) as lanes:read.
  • Gears uses one scope per resource and verb: gears.workflows.read, gears.workflows.write, gears.runs.read, gears.runs.write, gears.signals.write, and gears.operations.read (or gears.audit.read) for operational records.
  • Gears also accepts the coarse gears:read (for reads), gears:write and gears.* (for everything).
  • Beacons device enrollment (device-challenges, device-enrollments) needs beacons: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 need admin; provider keys and credential policies need iam:read or iam:write; the model catalog and registry need no credential.
  • Traces treats its read-only POSTs (search, extract, scrape, map, picture and the coding lookups) as traces:read; key administration and deletes need traces:delete.
  • Minds names a scope per operation: minds:read, minds:write or minds:manage. minds:manage does not imply read, so an engine route needs minds:read as 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 only hives: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 whoami and GET /v1/whoami list 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

ServiceScopesNotes
agent-linksagent-links:read agent-links:write
Autoauto:read auto:write
Beaconsbeacons:device:enroll beacons:read beacons:write8 operations authorized by the service
Blindsblinds:read blinds:write
Boxesboxes:read boxes:write25 operations authorized by the service
Brewsbrews:read brews:write
CIci:admin ci:read ci:write
company-mdcompany-md:read company-md:write
Connectionsconnections:read connections:write
Dialsdials:read dials:write9 operations authorized by the service
Flaresflares:read flares:write
Fleetsfleets:read fleets:write
Flocksflocks:read flocks:write
Foundryadmin foundry:gateway:invoke genesis.billing.read iam:read iam:write77 operations authorized by the service
Gardengarden:bank:link garden:bank:read garden:bank:summary garden:manage garden:read garden:wallets:link garden:wallets:read garden:write1 operation authorized by the service
Gearsgears.operations.read gears.runs.read gears.runs.write gears.signals.write gears.workflows.read gears.workflows.write27 operations authorized by the service
Graphsgraphs:read graphs:write
Henryhenry:read henry:write
Hiveshives:read hives:write1 operation authorized by the service
IAMiam:read iam:write
Laneslanes:read lanes:write
Loomloom:admin loom:read loom:write
Lotslots:read lots:review lots:write
Marketsmarkets:read
meetingsmeetings:read meetings:write
Mindsminds:manage minds:read minds:write minds:write minds:service_only16 operations authorized by the service
Newsnews:read
Oneone:read one:write
Ordersorders:read orders:write
Orgsorgs:read orgs:write
Pactspacts:read pacts:sign pacts:write34 operations authorized by the service
Panespanes:read panes:write
Relaysrelays:read relays:write
Rigsrigs:read rigs:write
Runnerrunner:read runner:write
Scopesscopes:admin scopes:read scopes:write
Shellsshells:read shells:write
Silossilos:read silos:write
Tapstaps:read taps:write2 operations authorized by the service
Tidestides:read tides:write
Tracestraces:delete traces:read traces:write1 operation authorized by the service
Weatherweather:read
Wikiwiki:read wiki:write
Zapszaps:read zaps:write

L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support