Nirmos
Memory Items

Update Memory Item

Updates administrative lifecycle/privacy fields only. Use runtime manual insertion to change semantic content while preserving provenance.

PATCH
/v1/memory/items/{id}

Updates administrative lifecycle/privacy fields only. Use runtime manual insertion to change semantic content while preserving provenance.

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/memory/items/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "string",    "createdAt": "string",    "updatedAt": "string",    "memorySpaceId": "string",    "type": "string",    "customType": "string",    "layer": "string",    "content": "string",    "structuredValue": "string",    "status": "string",    "confidence": 0,    "futureUtility": 0,    "importance": 0,    "durability": 0,    "explicitness": "string",    "validFrom": "string",    "validUntil": "string",    "supersededAt": "string",    "expiresAt": "string",    "reinforcementCount": 0,    "lastReinforcedAt": "string",    "accessCount": 0,    "lastAccessedAt": "string",    "sensitivity": "string",    "containsPII": true  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}