REST API Overview
Every public workspace capability is a typed route under /api/v1, documented in an OpenAPI document served at GET /api/v1/openapi.json.
Every public workspace capability in Dots is a typed HTTP route under /api/v1. The
CLI's API-backed families, the web app, and the MCP server front this one surface, so
anything they do against the workspace can be done directly against the API.
Envelopes
Responses follow two shapes — a success envelope and an error envelope:
{ "data": ... }
{ "error": { "code": ..., "message": ..., "details"?: ... } }
An unmarked request gets exactly { data }. An agent request that sends the
x-dots-agent marker also receives a dbom side-channel alongside data. The
byte-identity guarantee is scoped to the unmarked HTTP response: without the marker,
the response stays { data }, with no extra sibling.
The tenant is never a wire parameter — companyId is injected server-side from the
resolved actor. Row sub-resources are scoped by their Dotabase and human id
(/dotabases/:dotabaseId/rows/:humanId); flat operations like bulk row ops and edges
are keyed by UUID.
Route Groups
The route table registers 433 operations across 67 groups. 63 of those operations are internal-tier: served live, but stripped from the public document — the cross-tenant operator plane and the internal tooling tier.
| Group | Operations | Internal |
|---|---|---|
| ACCESS | 30 | 0 |
| ACCOUNT | 2 | 0 |
| ADMIN | 7 | 7 |
| AUTOMATIONS | 11 | 0 |
| CHAT SIDEBAR | 9 | 0 |
| CLOUD SYNC | 8 | 0 |
| CODE EXECUTION | 2 | 0 |
| CODE GRAPH | 8 | 0 |
| CODING AGENT | 9 | 1 |
| COMMENT MODERATION | 3 | 0 |
| CONNECTIONS | 7 | 0 |
| CONVERSATIONS | 16 | 5 |
| DERIVE | 5 | 0 |
| TEMPLATES | 3 | 0 |
| DOTABASES | 16 | 0 |
| EDGES | 10 | 0 |
| ENGAGEMENT WRITES | 3 | 0 |
| EXECUTOR | 4 | 4 |
| FILES | 5 | 0 |
| GIT | 4 | 0 |
| GRAPH ANALYTICS | 2 | 0 |
| GRAPH PRECOMPUTE | 7 | 0 |
| GRAPH UNIVERSE | 1 | 0 |
| HOME | 7 | 0 |
| IDENTITY | 3 | 0 |
| MACHINES | 7 | 0 |
| MANUAL | 3 | 0 |
| MARKETPLACE | 3 | 0 |
| MCP | 1 | 0 |
| META | 8 | 0 |
| NOTIFICATIONS | 11 | 0 |
| ONBOARDING | 11 | 7 |
| PAGES | 11 | 0 |
| PLATFORM | 18 | 18 |
| PLATFORM — MARKETPLACE MODERATION | 11 | 11 |
| PLAYBOOKS | 7 | 0 |
| PLUGINS | 6 | 0 |
| PRESENCE | 1 | 0 |
| PROVIDERS | 5 | 0 |
| PUBLIC | 6 | 0 |
| PUBLIC CHATWOOT WEBHOOK | 1 | 1 |
| PUBLIC COMMENTS | 5 | 0 |
| PUBLIC ENGAGEMENT | 3 | 0 |
| PUBLIC FEATURE-REQUEST INTAKE | 2 | 0 |
| PUBLIC LICENSE | 2 | 2 |
| PUBLIC MCP | 2 | 2 |
| PUBLICATIONS | 3 | 0 |
| READINESS | 2 | 0 |
| REPO GRAPH | 19 | 1 |
| ROW TEMPLATES | 7 | 0 |
| ROWS | 32 | 0 |
| ROWS — BULK | 5 | 0 |
| SANDBOXES | 4 | 0 |
| SEARCH | 1 | 0 |
| SETTINGS | 2 | 0 |
| SPACES | 5 | 0 |
| STAGE ARTIFACTS | 1 | 1 |
| SUPERPOWERS | 2 | 0 |
| SYNC BINDINGS | 11 | 0 |
| TAGS | 5 | 0 |
| TASKS | 2 | 2 |
| TRANSCRIBE | 1 | 0 |
| USAGE | 1 | 0 |
| USER WORKSPACES | 4 | 0 |
| VIEWS | 16 | 0 |
| WORKSPACE | 3 | 0 |
| WORKSPACE TEMPLATES | 1 | 1 |
The OpenAPI Document
Every public route is documented in an OpenAPI 3.1.0 document — Dots API —
served at GET /api/v1/openapi.json. 63 operations are enrolled in the internal
tier and stripped from it, so the served document advertises the public surface alone.
That document is the exhaustive, always-current contract for the public API — read it
(or point a code generator at it) rather than relying on any hand-maintained list. REST
reads return JSON row data; the agent-facing Markdown envelope described in Row Envelope
Format is produced by the CLI, MCP text output, and the docs export from that row data.
generator: apps/docs/pipeline/generate-reference.ts — regenerate with pnpm --filter @dots/docs docs:generate:reference; a hand edit to this page fails the docs drift gate.
REST API Overview · This page in the graph
- mentionstoConversations
- mentionstoDIIICE: Data
- mentionstoDotabase
- mentionstoAccess
- mentionstoDots
- mentionstoSpace
- mentionstoSuperpower
- mentionstoDOT
- mentionsfromQuickstart: Developers
- referencesfromMCP Overview
- referencesfromSDK Overview
- documented byfromDBOM Operating Manual Context
- documented byfromOpenAPI Contract
- referencesfromSelf-host Dots
- referencesfromMCP Tools
- referencesfromCLI Reference