- Minute-based Limit: “You’ve exceeded the per-minute rate limit. Please wait for sometime before retrying.”
- Hour-based Limit: “You’ve exceeded the hourly rate limit. Please wait for sometime before retrying.”
Automation AI
The Automation AI enforces rolling rate limits within a dynamic timeframe. Requests are monitored against both 60 calls per minute and 1,800 calls per hour limits. As long as neither limit is exceeded, the application can continue making requests. However, if the one-hour limit is breached, all further requests are blocked, even if the 60-second limit is still within bounds.API Rate Limit Matrix
Contact Center AI
Contact Center AI enforces rate limits to restrict the number of API requests an account/application can make within a timeframe. Requests are monitored against a sixty-second limit. As long as the limit isn’t exceeded, the account/application can continue making requests.API Rate Limit Matrix
Quality AI
Quality AI enforces rate limits to restrict the number of API requests an account/application can make within a timeframe. Requests are monitored against a sixty-second limit. As long as the limit isn’t exceeded, the account/application can continue making requests.API Rate Limit Matrix
Monitor API Usage
All APIs have rate limits. Calls that exceed the applicable limit fail. To help you monitor your usage, every response from an Automation AI APIs, whether it succeeds or fails, includes the following rate limit headers.
RateLimit-Limit shows the limit for the active rate-limit window. For Automation AI, it shows the per-minute limit normally and the hourly limit after the hourly limit is reached. RateLimit-ResetAfter shows the time remaining before the active window resets.
The header values are specific to the API group you called. They are not a combined count across all API groups. Different API groups can have different rate limit thresholds.
Best Practices
- Spread out calls evenly to avoid traffic spikes.
- Use filters to limit the data response size and avoid calls that request overlapping data.
- When the limit has been reached, stop making API calls. Wait for the specific time period to pass. Alternatively, implement a backoff strategy where your application automatically reduces its request frequency and retries failed requests after a calculated delay.