Skip to main content
Flow run events track the lifecycle of every flow run, from scheduling through completion. They are emitted on every state transition and, optionally, as periodic heartbeats during execution.

prefect.flow-run.{state}

Emitted each time a flow run transitions to a new state. The {state} suffix is the state name (for example, prefect.flow-run.Running or prefect.flow-run.Completed).

State variants

Resource

Payload

prefect.flow-run.heartbeat

Emitted periodically during flow run execution when heartbeat frequency is configured. Used for liveness detection, particularly with zombie flow detection.

Resource

Payload

This event has no payload.