Skip to main content
The TruAgents public API responds with 429 Too Many Requests and a Retry-After header when a client exceeds a rate limit. Limits are applied per client_id: a single credential authorized across multiple organizations shares one budget. Implement backoff in your client so a hot loop does not amplify the pause. Graceful 429 handling on POST /oauth/token — the token endpoint — requires the first-party SDK at version truagents >= 0.2.0; older releases surface the 429 as a generic authentication error without honouring Retry-After.

Retry policy

The first-party truagents Python SDK implements the recommended policy — mirror it in any hand-rolled client: Idempotent reads (any GET) are always safe to retry. Writes (POST) inherit safety from the specific endpoint — see the API page for guidance.