Workflow executions
Execute a workflow
Changed onStarts an execution of the revision resolved by alias (default latest) or revision. With an idempotencyKey, retries return the original execution with 200 and deduplicated: true.
post/workflows/definitions/{id}/execute
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/workflows/definitions/{id}/execute
- AuthHTTP bearer
Path parameters
idstring required
Workflow reference: a server-minted id (wf_...) or the workflow's client-chosen key (lowercase slug, unique per organization).
Query parameters
aliasstring
Run the revision this alias points at. Defaults to latest.
revisioninteger
Run this revision number instead of an alias.
Request body
Example request
{
"inputs": {
"due_days": 14
}
}Response
An execution with this idempotencyKey already exists.
Example response
{
"execution": {
"id": "exec_8f3a1b2c4d5e",
"workflowId": "wf_ifWBbWfpug0n",
"revision": 3,
"aliasName": "live",
"error": {
"code": "HTTP_500"
}
}
}Changes
- info
endpoint added
- info