The Cloudlets API v3 applies rate limits only for policy version activations. If you exceed the limit of requests per minute, the API returns a 429 error response.
Operation | Requests per minute |
---|---|
Activate a policy version | 10 |
All other operations | No rate limits. To avoid performance issues, carefully consider the number of transactions required per time interval, and only make API calls every second when necessary. |
Rate limit response headers
The following response headers provide additional information that help you avoid hitting rate limits:
X-RateLimit-Limit
. The maximum number of permitted requests during the rate limit window for this operation.X-RateLimit-Remaining
. The remaining number of permitted requests in the current rate limit window.X-RateLimit-Next
. The time when you can make the next request after exhausting the allowed limit in the current time period.
When X-RateLimit-Remaining
becomes 0, you get a 429 error the next time you make an API call. Wait at least one minute before you call again.