Trigger a workflow run
Accepts an optional JSON payload up to 1 MB. Inactive workflows return WORKFLOW_INACTIVE.
/api/v2/workflows/{workflowId}/triggerAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
workflowIdstringrequiredPublic workflow identifier.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
application/jsonpayloadanyAny JSON value whose serialized form is at most 1 MB.
runIdstringExisting run in this API key environment for workflow spans.
parentSpanIdstringWorkflow run accepted for asynchronous execution.
successbooleanrequiredtruedataobjectrequiredShow propertiesHide properties
runIdstringrequiredworkflowIdstringrequiredstatusstringrequiredpendingcreatedAtstring<date-time>requiredBad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectNot Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
