Skip to main content

OpenAPI Specifications

The SOAT REST API is fully documented using OpenAPI 3.x specifications. They are the source of truth for the TypeScript SDK, the soat CLI and the MCP tool surface, and they are published here for any OpenAPI-compatible tool — Postman, Swagger UI, code generators, AI agents.

Merged bundle

Every module in one document, with all $refs resolved inside the bundle:

DocumentURL
OpenAPI (JSON)/openapi.json
OpenAPI (YAML)/openapi.yaml
OpenAPI (YAML, /api path)/api/openapi.yaml
Error-code catalog (JSON)/errors.json

The bundle's servers entry is a baseUrl variable: SOAT is self-hosted, so point it at your own deployment. A running deployment serves the same merged document at /api/v1/openapi.json (authenticated).

Errors are documented twice over, for machines: the ErrorResponse schema describes the envelope, and the x-error-codes extension — the same data as /errors.json — lists every code with its HTTP status and meaning. See Error Responses for the contract in prose.

Per-module specs

One YAML file per module, served at /openapi/<module>.yaml, for tools that prefer a narrower surface.

ModuleURL
Activity/openapi/activity.yaml
Actors/openapi/actors.yaml
Agents/openapi/agents.yaml
Ai Providers/openapi/ai-providers.yaml
Api Keys/openapi/api-keys.yaml
Approvals/openapi/approvals.yaml
Audit Log/openapi/audit-log.yaml
Chains/openapi/chains.yaml
Chats/openapi/chats.yaml
Conversations/openapi/conversations.yaml
Documents/openapi/documents.yaml
Embeddings/openapi/embeddings.yaml
Evaluations/openapi/evaluations.yaml
Exceptions/openapi/exceptions.yaml
Files/openapi/files.yaml
Formations/openapi/formations.yaml
Generations/openapi/generations.yaml
Guardrails/openapi/guardrails.yaml
Ingestion Rules/openapi/ingestion-rules.yaml
Knowledge/openapi/knowledge.yaml
Memories/openapi/memories.yaml
Memory Entries/openapi/memory-entries.yaml
Model Routes/openapi/model-routes.yaml
Oauth/openapi/oauth.yaml
Orchestrations/openapi/orchestrations.yaml
Policies/openapi/policies.yaml
Projects/openapi/projects.yaml
Quotas/openapi/quotas.yaml
Secrets/openapi/secrets.yaml
Sessions/openapi/sessions.yaml
Tasks/openapi/tasks.yaml
Tools/openapi/tools.yaml
Traces/openapi/traces.yaml
Triggers/openapi/triggers.yaml
Usage/openapi/usage.yaml
Users/openapi/users.yaml
Webhooks/openapi/webhooks.yaml
Workflows/openapi/workflows.yaml