Workflows
Get workflow variables
Retrieve all variables available in a workflow, including both fixed system variables and variables discovered from execution history.
Returns two categories of variables:
- Fixed variables: Built-in system and context variables always available (flow_id, started_at, channel, phone_number, etc.)
- Discovered variables: User-defined variables observed during workflow executions, with sample values and usage statistics
Use this endpoint to:
- Understand what variables are available for use in workflow steps
- Review variable types and sample values for debugging
- Build autocomplete for variable references in workflow editors
GET
Get workflow variables
Previous
List workflow executionsRetrieve execution history for a workflow. Executions are returned in reverse chronological order (most recent first). Use query parameters to filter by status, time range, or cursor.
**Response**: Returns summary data (id, status, tracking_id, timestamps, workflow, current_step). Does not include execution_context or events. Use GET /workflow_executions/{id} to retrieve full execution details.
**Pagination**: Use `limit`, `after`, and `before`. Pagination cursors are returned in the `paging` object.
Common use cases:
- Monitor active executions for a workflow
- Review failed executions for debugging
- Audit execution history over time
- Find waiting executions that need user input
Next
Get workflow variables

