Idempotency
Every write on the Map Studio API takes an Idempotency-Key header. Pick one value per write, a UUID, and send it again unchanged on every retry. The first request runs; a repeat gets the first answer back, and nothing runs twice.
The samples below create a collection, retry it with the same key, and delete it. They need a session token minted for a member, as act as a member shows.
Response
The second answer is the first one, replayed: the same status, body, and Location, marked Idempotent-Replayed: true.
A key is kept for 12 hours. Never reuse one for a different write.