Skip to main content
See Memory for how bots use these documents.

memory/list

POST /rpc/memory/list returns memory documents.
string
Only this bot’s documents.
"bot" | "user"
bot for a bot’s own notes, user for shared notes.

memory/update

POST /rpc/memory/update replaces a document’s content.
string
required
The document.
string
required
The new content, in Markdown.
number
The revision you started from. If it changed, the call fails with CONFLICT.

memory/remove

POST /rpc/memory/remove deletes a document.
string
required
The document.

memory/exportMarkdown

POST /rpc/memory/exportMarkdown returns memory as one Markdown string.
string
Only this bot’s memory.

memory/journal and memory/undoChange

memory/journal lists recent automatic changes (facts noticed, notes tidied), newest first. Pass botId and a limit up to 100. memory/undoChange takes an entryId from the journal and reverses it.