Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Api idempotency retry/Vendor-sdk-retry-defaults
Reference · Api idempotency retry

Vendor-sdk-retry-defaults

Part of Api idempotency retry. Install the skill and your agent reads this page when it needs the depth.

Vendor SDK retry and idempotency defaults - cross-vendor comparison

How five platforms actually default and document this behavior, to calibrate your own SDK defaults and docs against. What converges is safe to copy; what diverges is exactly the part no standard settles - decide it explicitly for your own API.

The comparison table

Vendor Default retry mode Max attempts Backoff / idempotency behavior
AWS SDK v2 / CLI v2 standard 3 (incl. initial) Exponential + jitter, gated by a token-bucket retry quota (14 tokens per transient-error retry, 5 per throttling retry, since the 2026 rebalance)
AWS SDK adaptive mode opt-in 3, same jitter Adds a client-side rate limiter reacting to throttling; not recommended for multi-tenant apps unless tenants get isolated clients
Stripe SDKs client sets or omits the idempotency key; no fixed attempt cap n/a v1: retry with the same key replays the previously saved response verbatim; v2: attempts to complete without side effects and may return an updated response
Google Cloud client libraries per-service, varies varies Distinguishes unconditionally idempotent operations (GET, list) from conditionally idempotent ones needing preconditions/ETags before retry is safe
Twilio 24-hour idempotency window on config/orchestrator operations n/a Outbound webhook deliveries retried with exponential backoff up to 48 hours
Resend idempotency opt-in per request n/a 24-hour key retention; two named 409 codes split payload-conflict from concurrent-in-flight

What to copy - the convergent core

What to flag, not generalize

What this means for the SDK you ship

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.