Search Memories
Search with the strategy that matches intent. cURL (factual)Copy
curl -X POST "https://api.memorymodel.dev/v1/memories/search" \
-H "Authorization: Bearer $MEMORYMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "factual",
"query": "Acme Inc invoice on 2024-03-05"
}'
Copy
curl -X POST "https://api.memorymodel.dev/v1/memories/search" \
-H "Authorization: Bearer $MEMORYMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "conceptual",
"query": "best practices for onboarding"
}'
Copy
curl -X POST "https://api.memorymodel.dev/v1/memories/search" \
-H "Authorization: Bearer $MEMORYMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "hybrid",
"query": "customer issues in Q3 with sentiment"
}'