How Conversations Work
Conversations are stored as conversation memories. Each conversation has amemory_id, and you add messages to that container over time.
role: Who said the message (user,assistant, etc.)memory_id: The conversation container to append tocontent: Message text (single message or a list of message objects)
Conversation memories contain the full message history. See Core Concepts for the memory/source model.
Creating and Adding Messages
Retrieving Conversations
Uselist_memories() to retrieve conversations with message roles, or get_memory() for a single conversation’s metadata.
Next Steps
- Core Concepts - Understanding memories and sources
- Memory Operations - Store and search memories