Tesouro uses rate limiting to protect against spikes of incoming traffic that can put our systems at risk. These limits help us ensure that Tesouro remains stable and usable for everyone. If you exceed the rate limit, you will receive aDocumentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
429 Too Many Requests HTTP response. When this happens, wait before retrying the request.
Rate limiting details in GraphQL responses
Rate limiting details are included in theextensions field of a GraphQL response:
| Field | Description |
|---|---|
rateLimit.requestRate | The current rate of requests |
rateLimit.remaining | The remaining number of requests before reset |
rateLimit.retryAfterMs | How long to wait (in ms) before retrying a request |
rateLimit.resetAfterMs | How long (in ms) until the rate limit resets |
Example response
Handling rate limits
- Check the
extensionsfield: Examine theextensionsfield for rate limiting information. Ifremainingis zero, you have exceeded the rate limit and need to back off. - Implement a backoff strategy: If rate limits are exceeded, wait for the
resetAfterMsduration before retrying the request. Consider using exponential backoff for retries.
If the current rate limiting levels are not satisfactory for your integration, please contact your Account Manager at Tesouro to request an adjustment.