Skip to content
YasadDocs
Sign inGet started
Developer docs1 min read

Safe retries and concurrency

requestId, replays, revisions and 409 conflicts.

On this page

#Idempotent creates

Every mutation takes a caller-generated lowercase UUID requestId. Store the ID and the original body before the first attempt. After a timeout, send the same request with the same key: you get the original result back. Changing the body under the same ID returns 409.

#Optimistic concurrency

Updates and deletes require the record's current revision (collection schemas use version). If someone changed it first you get 409: read the current record, then decide on a new intent.

#Queued work

Payment operations and email intents can start queued. Poll GET /v1/payments/operations/{id} or GET /v1/emails for the result.

Type to search