Index Ai Academy
Glossary · Phase 8 · APIs

Idempotency key

Also written: idempotency keys, Idempotency-Key

A unique id a client sends with a request so that retrying it can't make the server do the work twice.

Try it now

Each wait doubles. Without jitter, a thousand clients retry at the same instant and knock the service over again, so real code randomizes each delay.

Learn it properly

Rate limits, retries and idempotency · Keep an API up under load and make retries safe. About 40 minutes.

Create a free account See what's in the lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write