SmartMemory
POST
/memory/reasoning/traces/query

Query reasoning traces.

Use cases:

  • "Why did I choose Python?" → finds reasoning traces mentioning Python decisions
  • artifact_id → finds reasoning that CAUSES this artifact

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to query reasoning traces.

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/reasoning/traces/query" \  -H "Content-Type: application/json" \  -d '{    "query": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}