Memories
Change a fact
PATCH
header
AuthorizationBearer <token>Your space key (om_...). Get one with POST /v1/connect.
id*stringLength
1 <= length <= 64application/json- body
subject?stringLength
length <= 200text?stringLength
1 <= length <= 4000tier?Tiercore = always in context; long = recalled on demand; scratch = short-lived.
Default
"long"Value in
"core""long""scratch"tags?array<>Items
items <= 20source_ref?stringLength
length <= 500pinned?booleanexpires_at?|Format
date-timeUpdated
application/json- response
id*stringsubject*stringtext*stringtier*Tiercore = always in context; long = recalled on demand; scratch = short-lived.
Default
"long"Value in
"core""long""scratch"tags*array<string>source_ref*stringpinned*booleanorigin*OriginValue in
"user""agent""dream"expires_at*string|nullrecall_count*integerlast_recalled_at*string|nullcreated_at*stringupdated_at*stringauthor*|The member (agent) that wrote it. null = written before the space had members, or by the server itself.
updated_by*|The last member to change it.
match?stringRecall only: whether this fact matched the words of q, its meaning, or both.
Value in
"keyword""meaning""both"curl -X PATCH 'https://api.memlane.sh/v1/memories/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "subject": "string", "text": "string", "tier": "core", "tags": [ "string" ], "source_ref": "string", "pinned": true, "origin": "user", "expires_at": "string", "recall_count": 0, "last_recalled_at": "string", "created_at": "string", "updated_at": "string", "author": { "id": "string", "name": "string", "removed": true }, "updated_by": { "id": "string", "name": "string", "removed": true }, "match": "keyword"}