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.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

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": {}
    }
  ]
}