POST
/
api
/
events

Headers

x-prefect-api-version
string

Body

application/json · object[]
event
string
required

The name of the event that happened

id
string
required

The client-provided identifier of this event

occurred
string
required

When the event happened from the sender's perspective

resource
object
required

The primary Resource this event concerns

follows
string | null

The ID of an event that is known to have occurred prior to this one. If set, this may be used to establish a more precise ordering of causally-related events when they occur close enough together in time that the system may receive them out-of-order.

payload
object

An open-ended set of data describing what happened

A list of additional Resources involved in this event