Search for memory items using semantic and contextual matching (GET method).
Query Parameters
Search query
Maximum number of results
Type of memory to search
Response Body
application/json
application/json
curl -X GET "https://example.com/memory/search?query=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Search Memory Advanced
Advanced search using Similarity Graph Traversal (SSG) algorithms. SSG provides superior multi-hop reasoning and contextual retrieval compared to basic vector search. Algorithms: - query_traversal: Best for general queries (100% test pass, 0.91 precision/recall) - triangulation_fulldim: Best for high precision (highest faithfulness) Reference: Eric Lester. (2025). Novel Semantic Similarity Graph Traversal Algorithms for Semantic Retrieval Augmented Generation Systems. https://github.com/glacier-creative-git/semantic-similarity-graph-traversal-semantic-rag-research Requires authentication and operates on user-scoped data.
Search Memory
Search for memory items using semantic and contextual matching. Optionally use SSG (Similarity Graph Traversal) for better multi-hop reasoning. Set use_ssg=true to enable SSG, or leave as null to use config default. Requires authentication and operates on user-scoped data. SecureSmartMemory handles tenant isolation automatically via ScopeProvider.