Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prefect.io/llms.txt

Use this file to discover all available pages before exploring further.

prefect.cli.flow_run

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

Functions

inspect

inspect(id: UUID)
View details about a flow run.

ls

ls()
View recent flow runs or flow runs for specific flows.

delete

delete(id: UUID)
Delete a flow run by ID.

cancel

cancel(id: UUID)
Cancel a flow run by ID.

retry

retry(id_or_name: str)
Retry a failed or completed flow run.

logs

logs(id: UUID)
View logs for a flow run.

watch

watch(id: UUID)
Watch a flow run until it reaches a terminal state.

execute

execute(id: Optional[UUID] = None)
Execute a flow run by ID.