Workflows
Create Workflow
Create a multi-step automation workflow.
POST
Create Workflow
Create a workflow that chains AI tasks together with scheduling, event triggers, and conditional logic.
Authentication
Requires a Bearer token. See Authentication.Request Body
Human-readable workflow name.
How the workflow is triggered. One of:
schedule, event, manual.Trigger-specific configuration (e.g.,
{ "cron": "0 9 * * 1" } for schedule triggers).Ordered array of workflow steps. At least one step is required.
Whether the workflow is active.
Request Examples
Response (HTTP 201)
The created workflow object with generated
id and timestamps.Errors
| Status | Code | Description |
|---|---|---|
| 400 | missing_fields | name, triggerType, and steps are required |
Endpoint
POST /api/v1/workflows
Requires authentication via Bearer token. See Authentication.Create Workflow
