Skip to content

Commit 57d2358

Browse files
Add secondary rate limits for OAuth token requests (#59566)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent e49830f commit 57d2358

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

data/reusables/rest-api/secondary-rate-limit-rest-graphql.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ You may encounter a secondary rate limit if you:
77
* _Make too many requests per minute._ No more than 90 seconds of CPU time per 60 seconds of real time is allowed. No more than 60 seconds of this CPU time may be for the GraphQL API. You can roughly estimate the CPU time by measuring the total response time for your API requests.
88
* _Make too many requests that consume excessive compute resources in a short period of time._
99
* _Create too much content on {% data variables.product.company_short %} in a short amount of time._ In general, no more than 80 content-generating requests per minute and no more than 500 content-generating requests per hour are allowed. Some endpoints have lower content creation limits. Content creation limits include actions taken on the {% data variables.product.company_short %} web interface as well as via the REST API and GraphQL API.
10+
* _Make too many OAuth access token requests in a short period of time._ No more than 2,000 OAuth access token requests per hour are allowed for {% data variables.product.prodname_github_apps %} and {% data variables.product.prodname_oauth_apps %}.
1011

1112
These secondary rate limits are subject to change without notice. You may also encounter a secondary rate limit for undisclosed reasons.
1213

0 commit comments

Comments
 (0)