SmartMemory
POST
/memory/plans/{plan_id}/fail

Mark plan as failed with reason.

Path Parameters

plan_id*Plan Id

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/plans/string/fail" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}