# Idempotency

Make every retry safe.

Send an `Idempotency-Key` header (8 to 100 characters; a UUID is ideal) on `POST /v1/generations`. Repeating the request with the same key returns the job it already created and never charges twice, so a timeout is always safe to retry.

Using the same key for a different request answers `409 idempotency_conflict`.

Source: https://opengrid.one/docs/idempotency
