Authorizations
Body
application/json
Domain to query logs for.
Start date for logs. Accepts: YYYY-MM-DD, YYYY-MM-DD HH:MM, YYYY-MM-DD HH:MM:SS, or full ISO timestamp.
Date interval for the report. (only used with date dimension)
Available options:
day
, week
, month
, year
Dimensions to group the report by.
filters
Filter[Literal['method', 'path', 'status_code', 'ip', 'user_agent', 'referer', 'query_params', 'bot_name', 'bot_provider', 'bot_types']] · object[]
List of filters to apply to the report. Each filter has an operator, field, and value.
Custom ordering of the report results.
The order is a record of key-value pairs where:
- key is the field to order by, which can be a metric or dimension
- value is the direction of the order, either 'asc' for ascending or 'desc' for descending.
When not specified, the default order is the first metric in the query descending.
Examples:
{ "date": "asc" }
Pagination settings for the report results.
End date for logs. Accepts same formats as start_date. Defaults to now if omitted.
Response
Successful Response