Skip to main content

prefect.server.api.events

Functions

create_events

Record a batch of Events. For more information, see https://docs.prefect.io/v3/concepts/events.

stream_events_in

Open a WebSocket to stream incoming Events

stream_workspace_events_out

Open a WebSocket to stream Events

verified_page_token

read_events

Queries for Events matching the given filter criteria in the given Account. Returns the first page of results, and the URL to request the next page (if there are more results).

read_account_events_page

Returns the next page of Events for a previous query against the given Account, and the URL to request the next page (if there are more results).

count_account_events

Returns distinct objects and the count of events associated with them. Objects that can be counted include the day the event occurred, the type of event, or the IDs of the resources associated with the event.

handle_event_count_request