Skip to content

memory.remember

Remember something with minimal ceremony (the Mem0-shape write): pass content OR messages[]; the server types it as governed evidence (actor/workspace/tenant from your token, source_type agent_conversation) and files it through the same hash-chained, admission-governed pipeline as evidence.ingest. Idempotent: retries with the same content dedupe. Pair with memory.search for the remember/recall loop.

FieldTypeRequiredDescription
contentstringfree-form text to remember (exactly one of content/messages; ≤6KiB inline)
idempotency_keystring
messagesarray (nullable)conversation turns to remember (exactly one of content/messages)
risk_classRiskClass
scope_keystringlevel:id, e.g. repo:payments-service
tagsarray of string (nullable)

conversation turns to remember (exactly one of content/messages)

FieldTypeRequired
contentstringyes
rolestring

Exactly one of these. content (non-empty) or messages (at least 1 item).

FieldTypeRequired
dedupedbooleanyes
evidence_idstringyes
request_idstring
scope_keystringyes
summarystringyes