Skip to main content

Workflows

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​

MethodPathDescription
GET/api/workflowsList workflows.
GET/api/workflows/{id}Fetch a workflow.
POST/api/workflowsCreate a workflow.
PUT/api/workflows/{id}Update a workflow.
DELETE/api/workflows/{id}Delete a workflow.
POST/api/workflows/generateGenerate a workflow from a prompt.

Runs​

MethodPathDescription
POST/api/workflows/{id}/runRun a workflow.
GET/api/workflows/{id}/runsList 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​

MethodPathDescription
GET/api/workflow-secretsList workflow secrets.
POST/api/workflow-secretsSet a workflow secret.
DELETE/api/workflow-secrets/{name}Delete a workflow secret.
GET/api/workflow-nodesList available workflow node types.
GET/api/workflow-triggersList available workflow trigger types.