Recall (Search)
Search memory entries
Search memory entries - Low latency for conversational
post/v4/search
Request body
Response
Memory search results
Example response
{
"results": [
{
"id": "mem_abc123",
"memory": "John prefers machine learning over traditional programming",
"chunk": "This is a chunk of content from a document...",
"metadata": {
"source": "conversation",
"confidence": 0.9
},
"similarity": 0.89,
"filepath": "/docs/architecture.md",
"version": 3,
"context": {
"parents": [
{
"relation": "updates",
"version": -1,
"memory": "Earlier version: Dhravya is working on a patent at Cloudflare."
}
],
"children": [
{
"relation": "extends",
"version": 1,
"memory": "Later version: Dhravya has filed the patent successfully."
}
]
},
"documents": [
{
"id": "doc_xyz789",
"title": "Introduction to Machine Learning",
"type": "web",
"metadata": {
"category": "technology",
"isPublic": true,
"readingTime": 5,
"source": "web",
"tag_1": "ai",
"tag_2": "machine-learning"
},
"summary": "A comprehensive guide to understanding the basics of machine learning and its applications."
}
],
"chunks": [
{
"content": "This is a chunk of content from the document...",
"score": 0.85,
"documentId": "doc_xyz789"
}
]
}
],
"timing": 245,
"total": 5
}