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.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/search" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Search Memory Get
Search for memory items using semantic and contextual matching (GET method).
Set Recall Profile
Set an agent's recall profile for personality-aware retrieval. Profile shape: {"memory_type_weights": {"decision": 2.0, "procedural": 1.5, "episodic": 0.5}} Empty dict clears the profile (restores default behavior).