Skip to main content

prefect.cli.flow_run

Flow run command — native cyclopts implementation. Interact with flow runs.

Functions

inspect

View details about a flow run.

ls

View recent flow runs or flow runs for specific flows. Examples:

delete

Delete a flow run by ID.

cancel

Cancel a flow run by ID.

retry

Retry a failed or completed flow run. The flow run can be specified by either its UUID or its name. If multiple flow runs have the same name, you must use the UUID to disambiguate. If the flow run has an associated deployment, it will be scheduled for retry and a worker will pick it up. If there is no deployment, you must provide an —entrypoint to the flow code, and the flow will execute locally. Examples:

logs

View logs for a flow run.

watch

Watch a flow run until it reaches a terminal state.

execute

Execute a flow run by ID.