SmartMemory
POST
/memory/decisions/{decision_id}/supersede

Replace a decision with a new one, marking the old as superseded.

Path Parameters

decision_id*Decision Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to supersede a decision.

Response Body

application/json

application/json

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