Get Memory Context
Memory
Get Memory Context
Retrieve the full memory context for a contact scoped to a persona or agent number. Returns everything the agent sees at the start of a conversation: summary, facts, recent messages, entities, and open items.
GET
Get Memory Context
Headers
Your API key for authentication.
Query Parameters
The unique identifier of the contact.
The persona ID for memory scoping. Either
persona_id or agent_number is required.The agent phone number for memory scoping. Either
persona_id or agent_number is required.Response
The memory context object.
The contact ID this memory belongs to.
Array of recent messages from the sliding window (cross-channel).
Message role: “user” or “assistant”.
Message content.
Channel the message came from: “call” or “sms”.
ISO timestamp when the message was recorded.
Rolling summary of interactions with this contact.
Structured facts about the contact (key-value pairs).
Array of extracted entities associated with this contact.
Array of open items or pending tasks for this contact.
Error array (null on success).
Docs for agents: llms.txt