Skip to main content
This section catalogs every event that Prefect emits, organized by the resource type they concern. For a conceptual overview of events, resources, and related resources, see Events.

Event model

Every event follows this schema:
FieldTypeRequiredDescription
occurreddatetimeyesWhen the event happened
eventstringyesName of the event (for example, prefect.flow-run.Running)
resourceobjectyesPrimary resource this event concerns
relatedarraynoAdditional related resources involved in this event
payloadobjectnoOpen-ended data describing what happened
idUUIDyesClient-provided identifier for this event
followsUUIDnoID of a preceding event, used to establish ordering

Resources

Every event has a primary resource represented as a set of string key-value labels. Every resource must include prefect.resource.id, a dot-delimited quasi-stable identifier like prefect.flow-run.e3755d32-cec5-42ca-9bcd-af236e308ba6. Resources may also carry prefect.resource.name and any number of additional labels. Events may include related resources that provide context about other objects involved. Each related resource carries all the same labels as a resource, plus a required prefect.resource.role label describing its relationship to the event (for example, flow, deployment, work-pool, or tag).

Namespace conventions

Prefect uses dot-delimited event names with reserved prefixes for system-emitted events:
PrefixOrigin
prefect.*Prefect open source (OSS) and Prefect server
prefect-cloud.*Prefect Cloud only
prefect.docker.*prefect-docker integration
prefect.kubernetes.*prefect-kubernetes integration
prefect.ecs.*prefect-aws integration (ECS observer)
The prefect.* and prefect-cloud.* namespaces are reserved for events emitted by Prefect itself. Your own events can use any other namespace you like. For example, acme.data-pipeline.completed or myteam.model.trained are perfectly valid event names. See custom event grammar for more on emitting your own events.

Quick reference

Orchestration events

EventDescriptionPage
prefect.flow-run.{state}Flow run state transitionsFlow run events
prefect.flow-run.heartbeatPeriodic flow run liveness signalFlow run events
prefect.task-run.{state}Task run state transitionsTask run events
prefect.deployment.createdDeployment createdDeployment events
prefect.deployment.updatedDeployment fields changedDeployment events
prefect.deployment.deletedDeployment deletedDeployment events
prefect.deployment.{status}Deployment status transitionsDeployment events
prefect.work-pool.{status}Work pool status transitionsWork pool and queue events
prefect.work-pool.updatedWork pool fields changedWork pool and queue events
prefect.work-queue.{status}Work queue status transitionsWork pool and queue events
prefect.work-queue.updatedWork queue fields changedWork pool and queue events

Execution events

EventDescriptionPage
prefect.worker.startedWorker process startedWorker and runner events
prefect.worker.stoppedWorker process stoppedWorker and runner events
prefect.worker.submitted-flow-runWorker submitted a flow runWorker and runner events
prefect.worker.executed-flow-runWorker finished executing a flow runWorker and runner events
prefect.runner.cancelled-flow-runRunner cancelled a flow runWorker and runner events

Data events

EventDescriptionPage
prefect.artifact.createdArtifact createdArtifact and asset events
prefect.artifact.updatedArtifact updatedArtifact and asset events
prefect.asset.referencedUpstream asset referencedArtifact and asset events
prefect.asset.materialization.succeededAsset materialization succeededArtifact and asset events
prefect.asset.materialization.failedAsset materialization failedArtifact and asset events

Concurrency events

EventDescriptionPage
prefect.concurrency-limit.acquiredConcurrency slots acquiredConcurrency events
prefect.concurrency-limit.releasedConcurrency slots releasedConcurrency events

Automation events

EventDescriptionPage
prefect.automation.triggeredAutomation trigger firedAutomation events
prefect.automation.resolvedAutomation trigger resolvedAutomation events
prefect.automation.action.triggeredAutomation action startedAutomation events
prefect.automation.action.executedAutomation action completedAutomation events
prefect.automation.action.failedAutomation action failedAutomation events

Infrastructure events

EventDescriptionPage
prefect.block.{type}.loadedBlock loaded from serverInfrastructure events
prefect.flow-run.pull-step.executedDeployment pull step succeededInfrastructure events
prefect.flow-run.pull-step.failedDeployment pull step failedInfrastructure events
prefect.workspace.transfer.startedWorkspace transfer startedInfrastructure events
prefect.workspace.transfer.completedWorkspace transfer completedInfrastructure events

Prefect Cloud events

EventDescriptionPage
prefect-cloud.automation.*Cloud automation lifecycleAutomation events
prefect-cloud.incident.*Incident managementCloud events
prefect-cloud.webhook.*Webhook receptionCloud events
prefect-cloud.{type}.{action}Audit log (CRUD operations)Cloud events

Integration events

EventDescriptionPage
prefect.docker.container.{status}Docker container status changesInfrastructure events
prefect.kubernetes.pod.{phase}Kubernetes pod phase changesInfrastructure events
prefect.ecs.task.{status}ECS task status changesInfrastructure events

Using events with automations

Events are the foundation of automations. You can configure event triggers to match any event in this reference by its name, resource labels, or related resources. See how to create automations to get started.