Search + K

Command Palette

Search for a command to run...

Sign In

Get summary stats

GET /orgs/{org}/insights/api/summary-stats
Copy endpoint
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: YYYY-MM-DDTHH:MM:SSZ.

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: YYYY-MM-DDTHH:MM:SSZ.

string

Responses

200 application/json

Response

interface ApiInsightsSummaryStats {
total_request_count?: number;
rate_limited_request_count?: number;
}