Skip to main content
CoreWeave AI Object Storage now supports conditional writes. Use HTTP precondition headers to make writes atomic and prevent accidental overwrites without requiring client-side locking.

Overview

Conditional writes extend the precondition support introduced with RenameObject in January 2026 to PutObject, CompleteMultipartUpload, and CopyObject. Attach preconditions to these requests to make writes atomic and prevent accidental overwrites. The operation succeeds only if the precondition is met; otherwise the server returns a 412 Precondition Failed error and the object is not modified. Two headers are supported:

Use cases

Constraints

  • If-None-Match only accepts the value *. Passing an ETag value returns 400 InvalidRequest.
  • If two concurrent requests use If-None-Match: * for the same key, one succeeds and the other returns 409 ConditionalRequestConflict. Retry on 409.

Learn more

Last modified on April 16, 2026