SmartMemory
GET
/memory/reflect

Reflect on memory patterns and key concepts.

Analyzes memory content to identify key concepts, top entities, and dominant topics. Results are cached for 5 minutes to reduce compute load.

Returns:

  • key_concepts: Frequently occurring terms with counts
  • top_entities: Named entities extracted from memories
  • dominant_topics: Main topic categories
  • cached: Whether this result came from cache
  • cache_expires_in: Seconds until cache expires

Query Parameters

top_k?Top K

Number of top items to analyze

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/reflect"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}