Skip to main content

prefect.server.api.flows

Routes for interacting with flow objects.

Functions

create_flow

Creates a new flow from the provided schema. If a flow with the same name already exists, the existing flow is returned. For more information, see https://docs.prefect.io/v3/concepts/flows.

update_flow

Updates a flow.

count_flows

Count flows.

read_flow_by_name

Get a flow by name.

read_flow

Get a flow by id.

read_flows

Query for flows.

delete_flow

Delete a flow by id.

bulk_delete_flows

Bulk delete flows matching the specified filter criteria. This also deletes all associated deployments. Returns the IDs of flows that were deleted.

paginate_flows

Pagination query for flows.