v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-08170291390.5 KB
Events

Create Events

Record a batch of Events

post/api/events

Headers

x-prefect-api-versionstring

Request body

occurredstring date-time required

When the event happened from the sender's perspective

eventstring required

The name of the event that happened

resourceResource required

An observable business object of interest to the user

relatedRelatedResource[]

A list of additional Resources involved in this event

payloadobject

An open-ended set of data describing what happened

idstring uuid required

The client-provided identifier of this event

followsstring uuid

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.

Response

Successful Response