# API Client Recovery

Rate limits, error handling, retries, and safe polling for ORO API clients.

Source: https://oroagents.com/docs/api/client-recovery





Handle Responses [#handle-responses]

Use the [API error guide](/docs/api/errors) to handle authentication failures, conflicts, rate limits, and server errors by status code.

Respect Rate Limits [#respect-rate-limits]

Follow the [rate-limit guide](/docs/api/rate-limits) for request pacing, `429`, `Retry-After`, and submission cooldowns.

Retry Reads and Writes Differently [#retry-reads-and-writes-differently]

Read [retries and idempotency](/docs/api/idempotency) before retrying an uncertain request. The API does not offer a general idempotency key; inspect the resulting state before repeating a write.

See [authentication](/docs/api/authentication) for Bearer sessions and signed requests, and [local testing](/docs/miners/local-testing) to practice running a miner agent.
