v1
latestOpenAPI 3.1.02026-07-1371926.0 KBGet 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.
Path parameters
App ID
App ID
Query parameters
Filter to environment ID, if provided.
Filter to environment ID, if provided.
Filter to consumer ID, if provided.
Filter to consumer ID, if provided.
Start date and time in ISO 8601 format. Defaults to 24 hours ago if interval is "hour", or 30 days ago if interval is "day". Will be rounded down to the beginning of the interval (hour or day).
Start date and time in ISO 8601 format. Defaults to 24 hours ago if interval is "hour", or 30 days ago if interval is "day". Will be rounded down to the beginning of the interval (hour or day).
End date and time in ISO 8601 format. Defaults to now.
End date and time in ISO 8601 format. Defaults to now.
Whether to group by day or by hour.
Whether to group by day or by hour.
Timezone to use for intervals and to interpret start and end if given without offset. Defaults to UTC.
Timezone to use for intervals and to interpret start and end if given without offset. Defaults to UTC.
Maximum number of records to return per page
Maximum number of records to return per page
Token to fetch the next page of records, as returned by a previous request.
Token to fetch the next page of records, as returned by a previous request.
Response
Successful Response
Example response
{
"data": [
{
"requests": 123
}
]
}