SmartMemory
POST
/memory/feedback

Apply an explicit feedback signal to a set of recalled memory items.

Adjusts retention_score immediately (does not wait for an evolver cycle). When outcome is helpful and multiple item IDs are provided, also strengthens the CO_RETRIEVED edges between every pair — feeding into HebbianCoRetrievalEvolver.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for submitting recall feedback.

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/feedback" \  -H "Content-Type: application/json" \  -d '{    "item_ids": [      "string"    ],    "outcome": "helpful"  }'
{
  "updated": 0,
  "edges_strengthened": 0,
  "outcome": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}