Skip to content

Get summary stats

GET
/orgs/{org}/insights/api/summary-stats

Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

min_timestamp
required
string

The minimum timestamp to query for stats. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

max_timestamp
string

The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

Response

Media type application/json
Summary Stats

API Insights usage summary stats for an organization

object
total_request_count

The total number of requests within the queried time period

integer format: int64
rate_limited_request_count

The total number of requests that were rate limited within the queried time period

integer format: int64
Examples
Example default
{
"total_request_count": 34225,
"rate_limited_request_count": 23
}