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.
| Field | Type | Required | Description |
|---|---|---|---|
content | string | free-form text to remember (exactly one of content/messages; ≤6KiB inline) | |
idempotency_key | string | ||
messages | array (nullable) | conversation turns to remember (exactly one of content/messages) | |
risk_class | RiskClass | ||
scope_key | string | level:id, e.g. repo:payments-service | |
tags | array of string (nullable) |
messages
Section titled “messages”conversation turns to remember (exactly one of content/messages)
| Field | Type | Required |
|---|---|---|
content | string | yes |
role | string |
Exactly one of these. content (non-empty) or messages (at least 1 item).
Output
Section titled “Output”| Field | Type | Required |
|---|---|---|
deduped | boolean | yes |
evidence_id | string | yes |
request_id | string | |
scope_key | string | yes |
summary | string | yes |