Get a workflow
Get one workflow and its related data. view selects the slice: ‘detail’, ‘versions’, ‘version_detail’ (needs version_id), ‘runs’ (filter by run_status/run_search), or ‘run_detail’ (needs workflow_run_id).
Headers
Project ID for tenant scoping
Overrides the key's workspace
User API key
Body
Which slice to return for the workflow
detail, versions, version_detail, runs, run_detail Workflow id
Version id (required for view='version_detail')
Run id (required for view='run_detail')
Include builder conversation in version_detail; set false when the question only asks for the step config/graph and wants the chat history skipped.
Run status filter (view='runs')
pending, running, completed, failed, cancelled, awaiting_interaction Match runs whose name contains this text, e.g. the 6-char suffix of a run name (view='runs')
Run source (view='runs'): 'playbook' for standalone runs (default - this filter applies even when left unset, so it only returns playbook-sourced runs), 'grid' for grid-cell runs, 'task' for task-triggered runs. run_search does not search across all sources by itself - check each run_source explicitly when the source is unknown.
grid, playbook, task Run sort field
created_at Sort direction
asc, desc Runs created at/after this time
Runs created at/before this time
1-based page (versions/runs)
x >= 1Page size (versions/runs)
1 <= x <= 100Response
Successful Response