When exporting in batches, observe both per-token limits and handle HTTP 429.
Request rate
Plan requests within the documented limits of one token: up to 5 per second and up to 120 per minute. These restrictions apply simultaneously. For example, five requests every second for a minute will exceed the minute threshold.
Handle HTTP 429
- Pause new requests using this token. If the server sends
Retry-After, wait for the specified interval. - Lower the request rate before retrying a read. Use pagination for larger lists.
- If several processes share a token, count their combined requests. Before retrying a write, check whether it already succeeded.