Get summary stats
GET
/orgs/{org}/insights/api/summary-stats https://api.github.com
Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.
Parameters
path Path Parameters
| Name | Type |
|---|---|
org
required
The organization name. The name is not case sensitive. | string |
query Query Parameters
| Name | Type |
|---|---|
min_timestamp
required
The minimum timestamp to query for stats. This is a timestamp in ISO 8601 format: | string |
max_timestamp The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in ISO 8601 format: | string |
Responses
200 application/json
Response
interface ApiInsightsSummaryStats {
total_request_count?: number;
rate_limited_request_count?: number;
}
total_request_count?: number;
rate_limited_request_count?: number;
}