Write items in bulk
Changed onUp to 25 sets and deletes in one call, in one scope.
Not a transaction. Each operation succeeds or fails on its own and is reported separately; the call returns 200 even when some failed. Check every entry's ok — treating a 200 as "all 25 landed" is the mistake this endpoint invites.
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/memory/collections/{collection}/items/batch
- AuthHTTP bearer
Path parameters
Collection name.
Query parameters
Scope as a query-string value: contact:<contactId>, conversation:<conversationId>, the literal project, or omitted for project scope.
Only the SHAPE of the id is validated, never its existence — the partition already carries your project, so an id that matches nothing simply addresses an empty scope rather than returning 404.
Which scope to address: contact:<contactId>, conversation:<conversationId>, or omitted for the project scope.
Note the asymmetry with POST /v1/memory and POST /v1/memory/search, which take the scope in the request BODY as scope plus contactId/conversationId. Every other Memory endpoint takes it here.
Request body
Response
Every operation was attempted. Inspect each result.
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info