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
Every path in this reference is relative to it, for example
https://api.sommatic.ai/workflow-orchestration/control-plane/flow-design/flow-definition/.
Groups
| Group | What you do with it |
|---|---|
| Triggers | Call a workflow through a webhook or as a sub-workflow, and manage the ingress bindings that expose it. |
| Execution | Start a run, follow it live and read its instances, results and node executions. |
| Workflow design | Create and edit flow definitions, publish, pause and resume them, read versions, deployments, triggers and the node catalog. |
| Cognitive infrastructure | LLM providers, prompt templates, knowledge resources and their bindings, agent profiles, cognitive tools, memory stores and external datasources. |
| Human in the loop | Create, assign and transition tasks, and follow them in real time. |
| Projects | Group the work of an organization in projects. |
| Credentials | Store the credentials nodes use to reach external services. |
| Git Sync | Connect repositories, preview and apply a commit, export a resource as a file. |
| Conversations | Turn a request in natural language into a Command Center plan. |
Your first request
List the workflows of your organization:
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"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:
{
"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.