get_flows
Retrieve flows from your Prefect workspace with optional filters like ID, name pattern, or tags.
Instructions
Get flows with optional filters.
Returns a list of flows registered in the workspace.
Filter operators:
any_: Match any value in list
like_: SQL LIKE pattern matching
all_: Match all values
Examples: - List all flows: get_flows() - Get specific flow: get_flows(filter={"id": {"any_": [""]}}) - Flows by name pattern: get_flows(filter={"name": {"like_": "etl-%"}}) - Flows by tags: get_flows(filter={"tags": {"all_": ["production"]}})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of flows to return | |
| filter | No | JSON filter object for advanced querying. Supports all Prefect FlowFilter fields. | |
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| error | Yes | ||
| flows | Yes | ||
| success | Yes |