Bulk trigger workflow executions
Queue several asynchronous executions of one workflow version in a single call (maximum 10 inputs per request). Each entry in inputs becomes its own execution; all executions share a single bulk_id for grouped tracking and consolidated webhook delivery. This route forwards to workflows-engine and requires callers to pin the workflow version in the path.
The immediate response only confirms the executions were queued. A per-input failure is reported inline on its executions entry (status: failed + message) — the bulk call still returns 202 so partial failures don't lose the queued executions.
Request
- Base URL: https://api.eachlabs.ai
- URL: https://api.eachlabs.ai/v1/workflows/bulk-trigger/{workflowID}/{versionID}
- Auth: HTTP bearer
Path parameters
Workflow ID or slug to execute.
Workflow version ID to execute.
Query parameters
Optional compatibility query parameter for execution completion webhooks. The request body field takes precedence when both are present.
Request body
Example request
{
"inputs": [
{
"prompt": "A cinematic establishing shot of a mountain lake"
},
{
"prompt": "A close-up of dew on a spider web at sunrise"
}
],
"webhook_url": "https://your-app.com/webhook",
"webhook_secret": "your-secret-key"
}Response
Workflow executions queued
Example response
{
"bulk_id": "bulk_abc123",
"executions": [
{
"execution_id": "exec_xyz789",
"status": "queued",
"message": "invalid input value"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.