api
events
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
prefect.server.api.eventscreate_events create_events(events: List[Event], ephemeral_request: bool = Depends(is_ephemeral_request)) -> None
stream_events_in stream_events_in(websocket: WebSocket) -> None
stream_workspace_events_out stream_workspace_events_out(websocket: WebSocket) -> None
verified_page_token verified_page_token(page_token: str = Query(..., alias='page-token')) -> str
read_events read_events(request: Request, filter: Optional[EventFilter] = Body(None, description='Additional optional filter criteria to narrow down the set of Events'), limit: int = Body(INTERACTIVE_PAGE_SIZE, ge=0, le=INTERACTIVE_PAGE_SIZE, embed=True, description='The number of events to return with each page'), db: PrefectDBInterface = Depends(provide_database_interface)) -> EventPage
read_account_events_page read_account_events_page(request: Request, page_token: str = Depends(verified_page_token), db: PrefectDBInterface = Depends(provide_database_interface)) -> EventPage
generate_next_page_link generate_next_page_link(request: Request, page_token: Optional[str]) -> Optional[str]
count_account_events count_account_events(filter: EventFilter, countable: Countable = Path(...), time_unit: TimeUnit = Body(default=TimeUnit.day), time_interval: float = Body(default=1.0, ge=0.01), db: PrefectDBInterface = Depends(provide_database_interface)) -> List[EventCount]
handle_event_count_request handle_event_count_request(session: AsyncSession, filter: EventFilter, countable: Countable, time_unit: TimeUnit, time_interval: float) -> List[EventCount]
Was this page helpful?