v1

latestOpenAPI 3.1.02026-07-22115189303.8 KB
Workflows

Retrieve workflow execution

Get complete details for a workflow execution including current status, execution context, variables, and full event history.

This is the only endpoint that returns the full execution_context (vars, system, context, metadata) along with the complete event history.

Use this endpoint to:

  • Monitor execution progress and current step
  • Debug failed executions with full event log
  • Review execution variables and context
  • Check error details when status is 'failed'

The response includes:

  • Current status and step
  • Complete event chronology (step transitions, agent actions, variable updates)
  • Full execution_context with standard structure (vars, system, context, metadata)
  • Error details if execution failed
get/workflow_executions/{execution_id}

Response

Execution details retrieved successfully

Example response

{
  "data": {
    "execution_context": {
      "vars": {
        "lead_id": 123,
        "last_user_input": {
          "button_id": "yes"
        }
      },
      "system": {
        "trigger_type": "api_call"
      },
      "context": {
        "channel": "api",
        "phone_number": "+15551234567"
      }
    }
  }
}