memories
POST /v1/memories/
Changed onAdd memories.
Request
- Base URLhttps://api.mem0.ai
- URLhttps://api.mem0.ai/v1/memories/
- AuthAPI key in header Authorization
Request body
Response
Memory processing has been queued for background (async) execution. The response reports queueing status, not the final memory content; poll GET /v1/event/{event_id}/ with the returned event_id to see the processed result. By default (or with version=v1 / output_format=v1.0) the response is a bare array. When both output_format=v1.1 and version=v2 are requested, the response is an object wrapping the same array under results.
Example response
[
{
"message": "Memory processing has been queued for background execution",
"status": "PENDING"
}
]Changes
- info
added the new optional request property
- info
- breaking
added
subschema #1subschema #2to the response bodyoneOflist for the response status - breaking
the response's body type changed from
arrayto no type for status - info
endpoint deprecated
- info
the
request property default value changed fromv1.1tov1.0
- breaking