Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

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:

ParamTypeDescription
workflow_idintOnly executions of this workflow
statusstringrunning, success, failed, partial, cancelled
sinceISO8601Started at or after this timestamp
untilISO8601Started at or before this timestamp
per_pageintMax 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.