Skip to main content
PATCH
Update a memory

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.

Path Parameters

id
string<uuid>
required

Memory UUID.

Query Parameters

scope
string

Hard isolation boundary. When provided, the memory must belong to this scope.

Maximum string length: 200

Body

application/json
content
string

New content. If changed, triggers re-classification against similar memories.

Maximum string length: 10000
category
enum<string>
  • preference - User likes or dislikes (e.g. "prefers dark mode").
  • fact - Objective information (e.g. "uses macOS").
  • decision - Choices made (e.g. "chose the new billing provider").
  • context - Background information (e.g. "working on e-commerce app").
Available options:
preference,
fact,
decision,
context
project
string
Maximum string length: 100

Response

Update result.

success
boolean
required
memory
object

Returned when only metadata was updated.

superseded
string<uuid>

ID of superseded memory (when content update triggers supersession).

ID of related memory (when content update creates an extend/similar relation).

error
string

Error message when success is false.