Skip to main content
GET
List all flows

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN

Example:

Query Parameters

search
string | null

Search flows by display name (case-insensitive)

sort_field
string | null

Field to sort by

Pattern: ^(created_at|updated_at|display_name|flow_executions_count|last_execution_activity_at|error_executions_count|awaiting_hitl_executions_count|awaiting_input_executions_count)$
sort_direction
string | null

Sort direction

Pattern: ^(asc|desc)$
page
integer
default:1

Page number

Required range: 1 <= x <= 10000
page_size
integer
default:20

Number of items per page

Required range: 1 <= x <= 100
tag_filters
string | null

JSON-encoded list of tag filter groups. Each group has 'mode' and 'values'.

is_cleanable
boolean
default:false

When true, returns only flows eligible for cleanup (0 tasks, older than 30 days)

created_by_id
string | null

Filter flows by creator user ID.

organization_id
string<uuid> | null

Restrict results to a single organization (backoffice cross-org views).

include_latest_version_executions_count
boolean
default:false

When true, each flow includes latest_version_executions_count — runs on the most recent version that has any runs (the dataset calibration samples). Off by default to keep the default list query cheap.

include_error_executions_count
boolean
default:false

When true, each flow includes error_executions_count. Off by default: the count probes every run for a failed task.

favorites_first
boolean
default:false

When true, the caller's favorite flows come first, most recently marked first.

visibility
enum<string>
default:all

Flows an organization admin hid from the Hub: 'visible' leaves them out, 'hidden' lists only them.

Available options:
visible,
hidden,
all
include_ordered_task_names
boolean
default:false

Include topologically sorted list of task names in execution order. Useful for visualizing task dependencies. Adds ~50ms latency for complex flows with 20+ tasks.

include_validation_errors
boolean
default:false

Include DSL validation errors if the flow definition is malformed. Essential for debugging invalid flows during development. No performance impact as validation runs regardless.

include_dynamic_data
boolean
default:false

Include runtime configuration options for each task (e.g., dropdown values, available resources). Requires authentication to external services. May add 100-500ms latency depending on integration APIs.

include_output_schemas
boolean
default:false

Include JSON Schema definitions for each task's output structure. Required for building dynamic UIs or validating task connections.

include_input_schema
boolean
default:false

Include JSON Schema definitions for input task executors' input structure. Calls get_input_model() to generate dynamic input schemas for form building.

include_default_reference_modes
boolean
default:false

Include each task's default reference modes (single/collection) as the task-level 'default_reference_modes' property. Lets the UI show the resolved default instead of an ambiguous 'Default' option. Cheap to compute.

Response

List of flows successfully retrieved

Paginated response for flows list.

flows
FlowResponse · object[]
required
page
integer
required
page_size
integer
required
total
integer
required