POST
/
api
/
events
/
count-by
/
{countable}
[
  {
    "value": "<string>",
    "label": "<string>",
    "count": 123,
    "start_time": "2023-11-07T05:31:56Z",
    "end_time": "2023-11-07T05:31:56Z"
  }
]

Headers

x-prefect-api-version
string

Path Parameters

countable
enum<string>
required
Available options:
day,
time,
event,
resource

Body

application/json

Response

200
application/json
Successful Response

The response is of type object[].