Skip to main content
POST
Edit a memory into a new version

Headers

X-Memloom-Owner
string<uuid>

The owner this request acts for. Applies to every owner-scoped endpoint, reads as well as writes. Omit it and the daemon's own default owner answers (see GET /health), which is what a single-owner install has always used. A value that is not a uuid is refused with 400 rather than coerced.

Path Parameters

id
string
required

Any version's id in the belief's lineage works.

Body

application/json
content
string
required
Example:

"the staging database runs on Postgres 18"

canonical
string

Optional short canonical form used for exact-duplicate detection.

Response

The new version.

id
string

Id of the new current version (a fresh row; the edited one is now stale).

rootId
string

The belief's stable lineage id, unchanged across versions.

version
integer
Example:

2