Executions
Read-only surface for inspecting past runs.
GET /wp-json/pfw-workflow/v1/executions
Lists executions. Filterable by workflow, status, date range.
Query parameters:
| Param | Type | Description |
|---|---|---|
workflow_id | int | Only executions of this workflow |
status | string | running, success, failed, partial, cancelled |
since | ISO8601 | Started at or after this timestamp |
until | ISO8601 | Started at or before this timestamp |
per_page | int | Max 100 |
GET /wp-json/pfw-workflow/v1/executions/{id}
Returns one execution with its full timeline (every node visited, inputs / outputs / duration / errors).
POST /wp-json/pfw-workflow/v1/executions/{id}/replay
Re-runs the execution. Body:
{
"from_node_id": "ai_1", // optional: replay from this node
"with_payload": { ... } // optional: override the trigger payload
}
Returns the new execution's id, which you can poll for status.