429 response.
Handling Rate Limits
If you receive a429 response, back off and retry after a short delay. Use exponential backoff to avoid hitting the limit again immediately.
If you’re using the TypeScript SDK, the withRetry() utility handles this automatically: