Automation workflows: definitions, runs, webhook triggers, secrets, and the
node/trigger catalog. Most endpoints require a valid
Bearer JWT and are scoped to the
token's project_id. The webhook trigger endpoint is invoked by external
systems via a per-workflow slug.
Workflows
| Method | Path | Description |
|---|
| GET | /api/workflows | List workflows. |
| GET | /api/workflows/{id} | Fetch a workflow. |
| POST | /api/workflows | Create a workflow. |
| PUT | /api/workflows/{id} | Update a workflow. |
| DELETE | /api/workflows/{id} | Delete a workflow. |
| POST | /api/workflows/generate | Generate a workflow from a prompt. |
Runs
| Method | Path | Description |
|---|
| POST | /api/workflows/{id}/run | Run a workflow. |
| GET | /api/workflows/{id}/runs | List runs for a workflow. |
| GET | /api/workflows/{workflow_id}/runs/{run_id} | Get the status of a run. |
| POST | /api/webhooks/wf/{slug} | Trigger a workflow via its webhook slug. |
Secrets & catalog
| Method | Path | Description |
|---|
| GET | /api/workflow-secrets | List workflow secrets. |
| POST | /api/workflow-secrets | Set a workflow secret. |
| DELETE | /api/workflow-secrets/{name} | Delete a workflow secret. |
| GET | /api/workflow-nodes | List available workflow node types. |
| GET | /api/workflow-triggers | List available workflow trigger types. |