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

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