Get a workflow
Get a single workflow together with a chosen slice of its related data: its details, its versions, one version in full, its run history, or one run in full.
Example: “Show me the details of the FAQ Suggester workflow”
Usage: give the workflow id and pick the slice with view: detail for the workflow itself, versions for its version history, version_detail for one version (needs the version id, and you can leave out the builder chat history), runs for its run history, or run_detail for one run (needs the run id). For runs you can filter by status, by where the run came from (a standalone playbook run, a grid cell, or a task), by a name search, or by when they were created, and the version and run lists come back in pages of up to 100 (50 by default).
Response: the workflow and whichever slice you asked for: its details, a list of versions, one version’s step config and chat, a list of runs, or one run’s status and progress.
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