Quota is checked on a 60-second moving average, which allows for spikes in usage. By default, the Classroom API is subject to the limits in the following table:
|Queries per day per client||4,000,000|
|Queries per minute per client||3000 (50 QPS)|
|Queries per minute per user||1200 (20 QPS)|
The permitted QPS may be increased or decreased depending on a number of operational factors.
If you need to make more requests than the limits applied to your project:
- First, ensure that you respond to retryable errors (such as the
RESOURCE_EXHAUSTEDerror that is returned when a request exceeds your limits) by retrying the request, preferably using exponential backoff .
- If you are polling for changes on an endpoint where this is offered, consider using push notifications instead.
- If you still need to make more requests than the limits assigned to your project, see below for instructions on requesting higher limits.
To view or change usage limits for your project, or to request an increase to your quota, do the following: