API reference
The CloudRaker gateway API: spaces, files, actions, playbooks, objects, and knowledge graphs. One tenant per token.
Base URL
Every call goes to the one gateway base:
The API returns opaque string ids. See Versioning and compatibility for what can change without warning.
Authentication
Every request carries a bearer token in the Authorization header. The developer credential is an organization API key. Create the key in the app under Admin > API keys. See the API keys guide.
An API key is an org-level machine credential. It resolves to your organization and can call any org-wide or admin route. The app shows the plaintext value once, when you create the key. You cannot retrieve it again. Store it in a safe place. The API also accepts session JWTs from the web app, but use API keys for integrations.
API keys carry no per-user membership. A key cannot satisfy a route gated on a specific person’s fine-grained resource grant. Use keys for server-to-server, org-wide automation.
Auth responses
GET /health is the only unauthenticated endpoint you normally touch.
Endpoint groups
GET /me, preferences, and the GET /home dashboard for the current user.
Spaces are the primary tenant container. Each space belongs to a space-type template. List, read, and archive spaces, and manage types.
Space-scoped storage. Register a file to get a presigned upload URL. Upload the bytes, then poll until the file is processed.
Install actions from the catalog, then dispatch a run in a space and fetch its result, outputs, and audit trail.
Agentic multi-step runs with approvals, a live timeline, run controls, and a WebSocket ticket for streaming.
Org-level data-object definitions plus space-scoped objects with a 14-operand filter, sort, offset paging, and saved views.
Entity/relation knowledge graph. Ingest files into namespaces and search entities across a space or the whole org.
GET /spaces/{spaceId}/search runs semantic search over a space’s indexed files. It returns grounded page/bbox/timecode hits.
Check your own permissions, manage grants, and manage groups (teams).
Admin housekeeping: organization details, logo, templates, users, memberships, roles, and API keys.
One-call ingestion: upload files, run actions, and receive signed webhooks in a single multipart request.
How scoping and authorization work
- One organization = one tenant. Your token’s org determines which data you reach. There is no cross-tenant access.
- The gateway enforces fine-grained per-resource permissions. Missing
space:readreturns 404, which hides existence. Missingspace:contributereturns 403. Org admins bypass space checks. - Errors are JSON
{ "error": "<snake_case_code>" }. Pagination is per-group. See each endpoint for itslimit/offset/cursor shape.
The Developer guide covers authentication, the file-upload flow, and reacting to events. Browse each endpoint in the sidebar, with parameters, schemas, and a runnable example.