Execution
Execute workflows and monitor active executions
Execute Workflow Endpoint
Path Parameters
Request Body
application/json
Input variables for the workflow.
Primary task description -- substituted for $ARGUMENTS in phase prompts. Omit it to run without a task; an empty or whitespace-only task is rejected with 422 (PC-66).
GitHub URLs or 'owner/repo' slugs to pre-clone for workspace hydration (ADR-058, ADR-063). Typed channel for repository identity: one execution can touch 0, 1, or N repos. Passing 'repository' or 'repos' in the inputs dict is rejected with 422.
Tags for this run, united with the workflow's own tags at launch (#967). Normalised (trimmed, lowercased, deduped); an invalid tag is rejected with 422.
The eval this run joins, overriding the workflow's default eval (#967). 404 if it does not exist, 409 if it is archived.
Launch an ordinary run: join no eval, even if the workflow has a default eval (#967). Cannot be combined with eval_id (422).
falseMakes the start idempotent (#2129): the execution id is derived from the workflow and this key, so every start with the same key, concurrent ones included, answers with the one execution and replayed: true after the first. A start that differs from the one that made it is refused with 409.
Agent provider to use. Currently ignored by execute(); sending this field has no effect.
"claude"Maximum budget in USD. Currently ignored by execute(); sending this field has no effect.
Response Body
application/json
application/json
curl -X POST "https://loading/workflows/string/execute" \ -H "Content-Type: application/json" \ -d '{}'{
"execution_id": "string",
"workflow_id": "string",
"status": "started",
"message": "Workflow execution started",
"replayed": false
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Execution Status Endpoint
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/workflows/string/executions/string"{
"execution_id": "string",
"workflow_id": "string",
"status": "string",
"current_phase": "string",
"completed_phases": 0,
"total_phases": 0,
"phase_progress": {
"completed": 0,
"skipped": 0,
"possible": 0,
"remaining_possible": 0,
"percent": 0,
"display": "string"
},
"started_at": "string",
"completed_at": "string",
"error": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List Active Executions Endpoint
Query Parameters
201 <= value <= 100Response Body
application/json
application/json
curl -X GET "https://loading/workflows/executions/active"[
{
"execution_id": "string",
"workflow_id": "string",
"status": "string",
"current_phase": "string",
"completed_phases": 0,
"total_phases": 0,
"phase_progress": {
"completed": 0,
"skipped": 0,
"possible": 0,
"remaining_possible": 0,
"percent": 0,
"display": "string"
},
"started_at": "string",
"completed_at": "string",
"error": "string"
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}