POST). If the same key arrives twice, GlobalStack replays the original response instead of performing the action again.
Sending a key
Pass a unique value in theIdempotency-Key header:
^[A-Za-z0-9_\-]{8,255}$ — 8 to 255 characters of letters, digits, underscores, or hyphens. A UUID works well. A malformed key returns 400 invalid_input.
How replays are resolved
Same key, still processing
If the first request hasn’t finished yet, the retry returns
idempotency_in_progress. Wait and retry.Keys expire after a retention window, so reuse a key only for retries of the same request — not indefinitely.