Trigger public workflow version
Trigger a public or unlisted workflow using the organization nickname, workflow slug, and version.
Authentication required - provide API key via X-API-Key header or api_key in request body.
Example:
POST /api/v1/public/@acme-corp/workflows/my-generator/versions/v1/trigger
Headers: X-API-Key: your-api-key
Body: { "inputs": { "prompt": "..." } }
Or with API key in body:
POST /api/v1/public/@acme-corp/workflows/my-generator/versions/v1/trigger
Body: { "api_key": "your-api-key", "inputs": { "prompt": "..." } }
Documentation Index
Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Path Parameters
Organization nickname (without @ prefix)
"acme-corp"
Workflow slug
"my-image-generator"
Version identifier
"v1"
Body
Optional: Specific version to trigger.
If not provided, triggers the latest version of the workflow. This allows you to execute specific versions for testing or comparison.
"v1"
Input parameters defined in the workflow definition for the workflow
{ "text": "tell me a story" }Optional webhook URL for execution completion notifications.
When provided, the engine will POST an ExecutionDetails payload to this URL
when the workflow finishes (either successfully or with an error).
See the Webhooks section for detailed information about webhook behavior and payload structure.
"https://your-api.com/webhooks/workflow-completed"
Response
Workflow execution started
Response from triggering a workflow execution
Unique execution identifier (only present for successful triggers)
"exec_xyz789"
Execution status immediately after triggering.
queued: Workflow execution has been queued and will start shortlyfailed: Trigger failed due to validation or system error
queued, failed "queued"
RFC3339 timestamp when the execution was queued (only present for successful triggers)
Error message (only present when status is "failed")
"invalid input: missing required field"