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/workflows/{workflow_id}/variables
Request
- Base URLhttps://api.kapso.ai/platform/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Variables retrieved successfully
Changes
No recorded changes to this operation across all 1 revision of this API.