workflow-webhooks
Trigger a workflow run through a webhook API key.
Changed onValidates the request body against the saved workflow input contract, then creates a direct WorkflowRun for the addressed tenant, agent, and workflow. Every request body is interpreted as JSON regardless of its Content-Type header. Authentication uses the X-API-Key header.
post/api/workflow/{agentName}/{workflowName}/webhook
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/workflow/{agentName}/{workflowName}/webhook
- Auth: API key in header X-API-Key
Path parameters
agentNamestring required
Agent name.
workflowNamestring required
Workflow name scoped to an agent.
Query parameters
timeout_secondsinteger
Timeout for the created WorkflowRun.
Request body
Response
Workflow run accepted.
Changes
- info
added the non-success response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info