The handbook
Environment variablesEndpointsScope catalog
Reference
Connect your zuri-os instance to open the interactive Swagger UI.Connect

Reference: Endpoints

A compact reference of the HTTP endpoints the console consumes. For the full interactive OpenAPI/Swagger document, use the Open Swagger button above (or the API Reference entry in the sidebar) — both open the live Swagger UI hosted at /docs on your connected AcasoOS instance. You can also hit GET /openapi.json directly for the raw schema.

Auth and identity

MethodPathPurposeScope
POST/v1/auth/sessionExchange a long-lived key for an 8h session token.none (auth via parent key)
GET/v1/users/meCurrent user, tenant, roles, effective scopes.any authenticated session
GET/v1/scopes/catalogCanonical scope taxonomy.any authenticated session

Users and roles

MethodPathScope
GET/v1/usersusers:read
POST/v1/usersusers:write
GET/v1/users/{id}users:read (own profile always)
PATCH/v1/users/{id}users:write (own display_name/metadata allowed without)
DELETE/v1/users/{id}users:write
POST/v1/users/{id}/rolesusers:write
DELETE/v1/users/{id}/roles/{slug}users:write
GET/v1/rolesroles:read
POST/v1/rolesroles:write
GET/v1/roles/{slug}roles:read
PATCH/v1/roles/{slug}roles:write
DELETE/v1/roles/{slug}roles:write
GET/v1/roles/{slug}/usersroles:read

Agents and chats

MethodPathScope
GET/v1/agentsfiltered by agents:<name>:run
GET/v1/agents/{name}agents:<name>:run (404 otherwise)
POST/v1/agents/{name}/streamagents:<name>:run
GET/v1/chatsown chats; conversations:read_others for cross-user
GET/v1/chats/{id}per chat_visibility policy
GET/v1/chats/{id}/messagesper chat_visibility policy
PATCH/v1/chats/{id}own chats; conversations:write_others for cross-user

Graphium (context)

MethodPathScope
POST/v1/graphium/ingestcontext:write
POST/v1/graphium/searchcontext:read
POST/v1/graphium/recallcontext:read
GET/v1/graphium/wake-upcontext:read
GET/v1/graphium/taxonomycontext:read
POST/v1/graphium/taxonomy/familiescontext:write
POST/v1/graphium/taxonomy/families/{slug}/generacontext:write
DELETE/v1/graphium/taxonomy/families/{slug}context:write (409 if non-empty)
DELETE/v1/graphium/taxonomy/families/{slug}/genera/{genus_slug}context:write (409 if non-empty)
GET/v1/graphium/statements/{id}context:read + row's required_scopes
GET/v1/graphium/statementscontext:read
PATCH/v1/graphium/statements/{id}context:write (metadata only — not content)
DELETE/v1/graphium/statements/{id}context:write

Cultivators

MethodPathScope
GET/v1/cultivatorscultivators:read
POST/v1/cultivatorscultivators:write (new binding created disabled)
PATCH/v1/cultivators/{kind}cultivators:write (merge semantics)
DELETE/v1/cultivators/{kind}cultivators:write (Kind stays in catalog)
GET/v1/cultivators/runscultivators:read
GET/v1/cultivators/runs/{run_id}cultivators:read

Connections

The tenant-level MCP server registry that investigator Cultivators reach through. This is an engineer/ops surface — the console ships no Connections page today.

MethodPathScope
GET/v1/connectionsconnections:read
POST/v1/connectionsconnections:write (201; 409 if the name exists)
PATCH/v1/connections/{name}connections:write (404 if absent)
DELETE/v1/connections/{name}connections:write (204; 404 if absent)

Admin

All admin endpoints require acaso_os:admin.

MethodPath
GET/v1/admin/tenants
POST/v1/admin/tenants
GET/v1/admin/tenants/{slug}
PATCH/v1/admin/tenants/{slug}
DELETE/v1/admin/tenants/{slug}
GET/v1/admin/tenants/{slug}/api-keys
POST/v1/admin/tenants/{slug}/api-keys
DELETE/v1/admin/tenants/{slug}/api-keys/{key_id}
GET/v1/admin/tenants/{slug}/audit-log
GET/v1/admin/tenants/{slug}/agents/{name}/overrides
PUT/v1/admin/tenants/{slug}/agents/{name}/overrides
DELETE/v1/admin/tenants/{slug}/agents/{name}/overrides
GET/v1/admin/health/detailed
GET/v1/admin/metrics/tenants/{slug}

Query playground

MethodPathScope
POST/v1/query/semanticbound to active tenant
POST/v1/query/cypherbound to active tenant; mutation keywords rejected

Errors

The API uses a stable error_code field on 4xx responses. See Troubleshooting for the common ones.

PreviousReferenceEnvironment variablesNext ReferenceScope catalog