Get summary stats by user
GET
/orgs/{org}/insights/api/summary-stats/users/{user_id} https://api.github.com
Get overall statistics of API requests within the organization for a user.
Parameters
path Path Parameters
| Name | Type |
|---|---|
org
required
The organization name. The name is not case sensitive. | string |
user_id
required
The ID of the user to query for stats | 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;
}