Skip to main content
GET
List all flows

Authorizations

X-API-Key
string
header
required

API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY

Example:

Authorization
string
header
required

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

Example:

Query Parameters

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.

Response

List of flows successfully retrieved

created_at
string<date-time>
required
definition
Definition · object
required

Complete flow definition in DSL format. May be enriched with additional fields when using expansion parameters (include_dynamic_data, include_output_schemas). Enriched fields are added to each task within definition.tasks[].

display_name
string
required

Human-readable flow name

id
string<uuid>
required
is_latest
boolean
required

Whether this is the latest version of the flow

modified_by
string
required
organization_id
string<uuid>
required

Organization that owns this flow

status
string
required

Flow lifecycle status. Values: 'draft' (editable), 'published' (ready for production use)

updated_at
string<date-time>
required
version
integer
required

Flow version number. Increments on each update.

Required range: x >= 1
description
string | null

Detailed flow description

flow_executions_count
integer
default:0

Total number of times this flow has been executed across all versions

settings
FlowSettings · object | null

Flow-level configuration settings

task_names
string[] | null

Topologically sorted list of task names in execution order. Only included when include_ordered_task_names=true. Useful for visualizing task dependencies and execution flow.

validation_errors
ErrorDetails · object[] | null

DSL validation errors if the flow definition is malformed. Only included when include_validation_errors=true. Empty list indicates a valid flow. Each error contains location and message details.