On this page
Sommatic Docs
Open portal

API

The Sommatic AI REST API lets your systems design and publish workflows, start and follow runs, manage AI assets, resolve tasks and sync from Git. Base URL, groups and a first request.

View as Markdown
Open in

Everything you do in the Sommatic AI portal goes through this API: creating a workflow, publishing a version, calling a webhook, reading a run node by node, completing a task. Your own systems can do the same with plain HTTP and JSON.

Base URL

https://api.sommatic.ai

Every path in this reference is relative to it, for example https://api.sommatic.ai/workflow-orchestration/control-plane/flow-design/flow-definition/.

Groups

GroupWhat you do with it
TriggersCall a workflow through a webhook or as a sub-workflow, and manage the ingress bindings that expose it.
ExecutionStart a run, follow it live and read its instances, results and node executions.
Workflow designCreate and edit flow definitions, publish, pause and resume them, read versions, deployments, triggers and the node catalog.
Cognitive infrastructureLLM providers, prompt templates, knowledge resources and their bindings, agent profiles, cognitive tools, memory stores and external datasources.
Human in the loopCreate, assign and transition tasks, and follow them in real time.
ProjectsGroup the work of an organization in projects.
CredentialsStore the credentials nodes use to reach external services.
Git SyncConnect repositories, preview and apply a commit, export a resource as a file.
ConversationsTurn a request in natural language into a Command Center plan.

Your first request

List the workflows of your organization:

Shell
curl "https://api.sommatic.ai/workflow-orchestration/control-plane/flow-design/flow-definition/organization-id?search=$ORGANIZATION_ID&page=1&pageSize=25&exclude_status=deleted" \
  -H "Authorization: Bearer $SOMMATIC_TOKEN"
JavaScript
const url = new URL(
  '/workflow-orchestration/control-plane/flow-design/flow-definition/organization-id',
  'https://api.sommatic.ai',
);
url.search = new URLSearchParams({ search: organizationId, page: '1', pageSize: '25', exclude_status: 'deleted' });

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { success, message, result } = await response.json();

The answer always has the same shape:

JSON
{
  "status": 200,
  "success": true,
  "message": "Operation completed successfully",
  "result": {
    "items": [{ "id": "wf-flow-definition-…", "name": "Inbound requests", "status": { "name": "active" } }],
    "totalItems": 1,
    "totalPages": 1,
    "currentPage": 1,
    "pageSize": 25
  }
}

Machine-readable reference

The whole public API is available as OpenAPI 3 at https://docs.sommatic.ai/openapi/sommatic.json. Import it into your HTTP client or generate a client from it.

Next steps

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs