Block events
prefect.block.{type}.loaded
Emitted when a block is loaded from the server. The {type} portion is the
block type slug (for example, prefect.block.slack-webhook.loaded or
prefect.block.s3-bucket.loaded).
Resource
Related resources
Payload
This event has no payload.Block subclasses can override the
_event_method_called_resources() method to
customize the resource and related resources for their events.Deployment pull step events
prefect.flow-run.pull-step.executed
Emitted when a deployment pull step completes successfully during flow run
infrastructure setup.
Resource
Related resources
Payload
The payload contains the serialized step definition (the step’s fully qualified name and its input parameters as defined inprefect.yaml).
prefect.flow-run.pull-step.failed
Emitted when a deployment pull step fails during flow run infrastructure setup.
Resource
Same asprefect.flow-run.pull-step.executed.
Related resources
Same asprefect.flow-run.pull-step.executed.
Payload
Same asprefect.flow-run.pull-step.executed.
Workspace transfer events
prefect.workspace.transfer.started
Emitted when a workspace-to-workspace resource transfer begins (via prefect transfer).
Resource
Related resources
This event has no related resources.Payload
prefect.workspace.transfer.completed
Emitted when a workspace transfer completes.
Resource
Same asprefect.workspace.transfer.started.
Related resources
This event has no related resources.Payload
Integration infrastructure events
The following events are emitted by Prefect integration packages to track infrastructure status changes during flow run execution. Each requires the respective integration package to be installed.Docker events (prefect-docker)
The Docker worker emits events when container status changes during flow run execution.prefect.docker.container.{status}
Emitted when a Docker container’s status changes. Events are chained using the
follows field to track status progression.
Status variants
Resource
Related resources
Payload
This event has no payload.prefect.docker.container.creation-failed
Emitted when a Docker container fails to be created. Same resource and related
resources as prefect.docker.container.{status}.
Kubernetes events (prefect-kubernetes)
The Kubernetes observer emits events when pod phase changes are detected for pods labeled withprefect.io/flow-run-id.
prefect.kubernetes.pod.{phase}
Emitted when a Kubernetes pod transitions to a new phase. Events use deterministic
IDs based on the pod UID, phase, and restart count for deduplication. Events
within 5 minutes of each other are chained using the follows field.
Phase variants
Resource
Related resources
Payload
This event has no payload.AWS ECS events (prefect-aws)
The ECS observer emits events when ECS task status changes are detected via SQS for tasks tagged withprefect.io/flow-run-id.
prefect.ecs.task.{status}
Emitted when an ECS task transitions to a new status. Events use the AWS
EventBridge event UUID for deterministic tracking. Events within 5 minutes of each
other are chained using the follows field.