Apply several writes atomically
All ops succeed or none do. Version and status checks abort the whole batch with 409, and error.details.op_index says which op failed when that can be told. Ops that read first (record.update, journal merge, action.propose) see the state from before the batch.
AuthorizationBearer <token>Your space key (om_...). Create one with POST /v1/spaces.
application/json- body
Applied in one transaction: all ops succeed or none do.
ops*array<||||||||||||>1 <= items <= 50One result per op, in order
application/json- response
results*array<unknown>curl -X POST 'https://api.openmemory.sh/v1/batch' \ -H 'Content-Type: application/json' \ -d '{ "ops": [ { "op": "memory.remember", "input": { "text": "string" } } ]}'{ "results": [ null ]}Change an action's meta PATCH
Merges into meta, in any status, for example to keep a chat message id with the action. Set a field to null to remove it. Nothing else can be changed: what the owner approved stays as it was.
Everything an agent needs at the start of a run, in one call GET
Core profile (bounded), due and open records, pending actions, recent journal days, the latest weekly digest, and selected KV namespaces.