cURL
curl --request POST \ --url http://localhost:8000/v1/memory \ --header 'Content-Type: application/json' \ --data ' { "user_id": "alice", "app_id": "my_app", "workspace_id": "team_1", "messages": [ { "role": "user", "content": "I prefer dark mode and short answers." } ] } '
{ "stored": 1, "memory_ids": [ "mem_3f7a1c2d9e4b" ] }
Store one or more conversation messages into the user’s memory graph. Each message is embedded, classified, and indexed — ready for recall and search.
User identifier. Required for all operations.
One or more conversation messages to store.
Show child attributes
Optional application namespace.
Optional workspace or team namespace.
Optional agent namespace.
Memories stored successfully
Number of messages stored.
IDs of the created memory records.
Was this page helpful?