SmartMemory
POST
/memory/search

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": {}
    }
  ]
}