Skip to main content
How-to guide
Keep that identity and request content when recovering a lost response.

Know the identity field

The exact request schema decides which fields are supported. There is no universal Idempotency-Key request header for all engine APIs. Notification delivery has its own event identity.

Recover the same request

If a mutation returns a server error or its response is interrupted, keep the original URL, method, headers, body, and request identity. For an endpoint that supports request identity, recover the same submission by sending the identical request from your client. A fresh ID can create new work. Read status using the original identity when possible. Open-session creation does not have a caller-supplied idempotency identity; inspect server state before creating another session after an uncertain response. Use a new identity only for a separate intended operation. Closing the client does not cancel engine work or undo a confirmed write.

Handle revision conflicts

expected_revision protects a workload or document against a stale edit. Catalog mutations use their catalog revision contract. A conflict means you should read and review the current resource; it is not a signal to replace the revision silently and repeat a write. A selective rerun preserves an earlier invocation. A normal new run can use the current definition. See Run workloads for execution semantics.
Last modified on November 23, 2026