Update Document
Shallow-merge data into the stored document (a JSON null removes a
field) and write the result as a new version.
Dark launch: requires the hosted_apis_access entitlement (402 hosted_apis_not_in_plan otherwise).
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Store id (prefixed external id, store_...).
Collection name (lowercase letters, digits, _, -).
Headers
Request
The document body (a JSON object, at most 256 KiB). On updateDocument, the fields to merge; a null removes a field.
On createDocument, the id to write at (letters, digits, _ . - : ~ @ +, at most 200);
minted when absent. Ignored on putDocument / updateDocument, where the URL names it.
Response headers
Response
The durable run (and its journal step) that wrote this version. Absent for a direct API write.