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
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).
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.