Skip to content

Get summary stats by user

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

Get overall statistics of API requests within the organization for a user.

Under normal conditions, you can expect API data to appear within 4–6 hours after making a request. During incidents or periods of unusually high volume, it may take longer to show up.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

user_id
required
string

The ID of the user to query for stats

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 typeapplication/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
Exampledefault
{
"total_request_count": 34225,
"rate_limited_request_count": 23
}