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
Concurrency/openapi/concurrency.yaml
Conversations/openapi/conversations.yaml
Deciders/openapi/deciders.yaml
Documents/openapi/documents.yaml
Embeddings/openapi/embeddings.yaml
Errors/openapi/errors.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
Idempotency/openapi/idempotency.yaml
Ingestion Rules/openapi/ingestion-rules.yaml
Knowledge/openapi/knowledge.yaml
Memories/openapi/memories.yaml
Memory Assertions/openapi/memory-assertions.yaml
Memory Rules/openapi/memory-rules.yaml
Memory Stores/openapi/memory-stores.yaml
Metadata Filters/openapi/metadata-filters.yaml
Metadata Schemas/openapi/metadata-schemas.yaml
Metadata/openapi/metadata.yaml
Model Routes/openapi/model-routes.yaml
Oauth/openapi/oauth.yaml
On Behalf Of/openapi/on-behalf-of.yaml
Orchestrations/openapi/orchestrations.yaml
Pagination/openapi/pagination.yaml
Playbooks/openapi/playbooks.yaml
Policies/openapi/policies.yaml
Principals/openapi/principals.yaml
Projects/openapi/projects.yaml
Quotas/openapi/quotas.yaml
Secrets/openapi/secrets.yaml
Sessions/openapi/sessions.yaml
Shares/openapi/shares.yaml
Tags/openapi/tags.yaml
Tasks/openapi/tasks.yaml
Tools/openapi/tools.yaml
Traces/openapi/traces.yaml
Triggers/openapi/triggers.yaml
Usage Totals/openapi/usage-totals.yaml
Usage/openapi/usage.yaml
Users/openapi/users.yaml
Webhooks/openapi/webhooks.yaml
Workflows/openapi/workflows.yaml