Endpoint
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workflowID | string | Yes | Workflow UUID |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
version_id | string | No | Specific version to trigger (defaults to latest) |
inputs | object | No | Input parameters matching the workflow’s input schema |
webhook_url | string | No | URL to receive completion notification |
Code Examples
Response
Status:202 Accepted
Response Fields
| Field | Type | Description |
|---|---|---|
execution_id | string | Unique execution ID for tracking |
status | string | "queued", meaning the execution has been queued |
started_at | string | ISO 8601 timestamp |
Error Responses
| Status | Body | Description |
|---|---|---|
400 | {"error": "invalid input: missing required field 'prompt'"} | Input validation failure |
401 | {"error": "Invalid or missing API key"} | Authentication failure |
404 | {"error": "workflow not found"} | Invalid workflow ID |