Get Traffic
Get API traffic data for an app. Grouped by hour or by day. With pagination. Traffic to endpoints that have been excluded in the dashboard is excluded here as well.
Authorizations
Path Parameters
App ID
x >= 1
Query Parameters
Filter to environment ID, if provided.
x >= 1
Filter to consumer ID, if provided.
x >= 1
Start date and time in ISO 8601 format. Defaults to 24 hours ago if intervals
is "hours", or 30 days ago if intervals
is "days". Will be rounded down to the beginning of the interval (hour or day).
End date and time in ISO 8601 format. Defaults to now.
Whether to group by day or by hour.
hours
, days
Timezone to use for intervals and to interpret start
and end
if given without offset. Defaults to UTC.
Maximum number of records to return.
1 <= x <= 1000
Token to fetch the next page of records, as returned by a previous request.
1024
Response
The response is of type object
.