Claude Certification
Context Management & Reliability
Lesson 3 · 5 min

Retries & Backoff

Idempotency and exponential backoff for API errors.

Retry on 429 and 5xx with exponential backoff and jitter. Make calls idempotent by adding a stable request_id to tool calls so a retry doesn't double-execute.

Quick check
Context & ReliabilitySelect one
Which HTTP status codes should trigger a retry with exponential backoff?