Retrieval
Retrieve Memories
Tailored memory retrieval for agentic workloads. Supports hybrid semantic search, date ranges, and configurable result limits for different memory types. This endpoint is optimized for conversational AI and memory retrieval use cases. If a query is not specified then one is inferred from the conversation context. If neither a query nor a conversationId is provided, results are returned in most-recent order without relevance scores.
post/v1/Stores/{storeId}/Profiles/{profileId}/Recall
Headers
Accept-Encodingstring
Example:gzip, deflate, br
Compression algorithms supported by the client (e.g., gzip, deflate, br)
Content-Encoding'gzip' | 'deflate' | 'br' | 'compress'
Example:gzip
Compression algorithm used for the request body (e.g., gzip, deflate, br)
Request body
Example request
{
"conversationId": "conv_conversation_00000000000000000000000000",
"query": "customer satisfaction feedback",
"beginDate": "2025-01-01T00:00:00Z",
"endDate": "2025-01-31T23:59:59Z",
"communicationsLimit": 10,
"observationsLimit": 20,
"summariesLimit": 5,
"relevanceThreshold": 0.5
}Response
Memory retrieval results returned successfully.
Example response
{
"observations": [
{
"content": "Customer expressed satisfaction with recent product update during support call.",
"occurredAt": "2025-01-15T10:15:30Z",
"source": "conversational-intelligence",
"conversationIds": [
"conv_conversation_00000000000000000000000000"
],
"id": "mem_observation_00000000000000000000000000",
"createdAt": "2025-01-15T10:30:45Z",
"updatedAt": "2025-01-15T10:30:45Z",
"score": 0.82
}
],
"summaries": [
{
"source": "conversations",
"content": "Customer discussed billing concerns and was satisfied with the resolution provided during this conversation.",
"occurredAt": "2025-01-15T10:15:30Z",
"conversationId": "conv_conversation_00000000000000000000000000",
"id": "mem_summary_00000000000000000000000000",
"createdAt": "2025-01-15T10:30:45Z",
"updatedAt": "2025-01-15T10:30:45Z",
"score": 0.78
}
],
"communications": [
{
"id": "conv_communication_00000000000000000000000000",
"channelId": "SM00000000000000000000000000000000",
"content": {
"text": "Hello, I need help with my account"
},
"createdAt": "2025-01-15T10:15:30Z",
"updatedAt": "2025-01-15T10:20:30Z",
"author": {
"id": "conv_participant_00000000000000000000000000",
"profileId": "mem_profile_00000000000000000000000000",
"address": "+12025551234"
},
"recipients": [
{
"id": "conv_participant_00000000000000000000000000",
"profileId": "mem_profile_00000000000000000000000000",
"address": "+12025551234"
}
]
}
],
"meta": {
"queryTime": 156
}
}