Traffic
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.
GET
Authorizations
Path Parameters
App ID
Required range:
x > 1
Query Parameters
Filter to environment ID, if provided.
Required range:
x > 1
Filter to consumer ID, if provided.
Required range:
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.
Available options:
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.
Required range:
1 < x < 1000
Token to fetch the next page of records, as returned by a previous request.
Maximum length:
1024