detail field. Use the HTTP status code to decide whether to change the request, update access, or retry.
Common errors
For example, Search without a key returns:
Rate limit headers
Authenticated responses expose the current short-window limit throughRateLimit-* headers and the minute limit through X-RateLimit-*-Minute headers:
Retry safely
- Don’t retry
401,403,404, or422responses without changing the credential or request. - For
429and transient5xxresponses, use exponential backoff with jitter. - Honor
Retry-Afterwhen the response includes it. Otherwise wait until the indicated rate-limit reset. - Set a maximum retry count and an overall timeout.
- Avoid retrying write requests unless your application can prevent duplicate changes.
