Backend API Reference
Static API documentation generated from the backend's canonical OpenAPI 3.1 document at docs build time.
This section is generated from apps/backend/src/documentation. The docs build first exports the
current result of createOpenApiDocument() to a temporary public schema snapshot, then Fumadocs
builds the API pages from that snapshot.
There is no copied hand-authored API schema and no symlink. A backend contract change must update the owning OpenAPI module; the local backend explorer and this site then receive the same document.
Reference Groups
Organizations
Organization creation, retrieval, updates, and deletion.
Onboarding
Source upload, onboarding state, review, and activation.
Tasks and Runs
Durable work, dependencies, queue intent, and attempt history.
Human Inbox
Questions, responses, approvals, and acknowledgements.
Actions
Consequential-effect approval, execution, and reconciliation.
Integrations
Managed/custom providers, credentials, tools, OAuth, and gateway execution.
Local API Surfaces
With the backend on its default port:
- Scalar explorer:
http://127.0.0.1:3000/docs - Machine-readable schema:
http://127.0.0.1:3000/docs/spec.json - Static docs snapshot: Download OpenAPI JSON
The interactive request playground is disabled on this public static site. Use the local backend explorer when you intentionally need to issue requests against a running local stack.
Generated request examples target http://localhost:3000 by default. A deployment with a stable
backend address can set OBLIVE_API_DOCS_SERVER_URL during the docs build; the value is validated as
an HTTP or HTTPS URL and written only to the public OpenAPI snapshot.
Authentication Boundaries
Organization-facing routes and trusted runtime routes have different authentication contracts. Pages under Trusted Runtime API are service or execution-capability boundaries used by Oblive runtimes; they are not general public client APIs.
Keeping the Reference Current
When a route, parameter, request, response, authentication rule, status, error, or example changes:
- Update the resource module under
apps/backend/src/documentation. - Add or update documentation tests.
- Run
bun run docs:openapi:syncfrom the product workspace. - Run
bun run docs:openapi:checkandbun run --cwd sites --filter @oblive/site-docs api:generate. - Run the backend and docs checks.
- Update operator/developer pages when the behavior or workflow also changed.