SmartMemory
GET
/memory/decisions/{decision_id}/causal-chain

Trace causal chain from a decision.

Path Parameters

decision_id*Decision Id

Query Parameters

direction?Direction

causes, effects, or both

max_depth?Max Depth

Maximum traversal depth

Response Body

application/json

application/json

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