Idempotency-Key makes a retry replay the first response instead.
Use it
Send any unique string on anyPOST under /v1; every one honours it (creates, publish and unpublish, knowledge adds, topic merges, asset uploads, the JSON chat turn):
The rules
A key is scoped to your API key and kept for 24 hours. It is honoured in the JSON chat mode; a streamed (SSE) turn cannot be replayed, so the key is ignored there.