PATCH
/
v0
/
memories
/
{memory_id}
Update selected fields of a memory.
curl --request PATCH \
  --url https://api.flumes.ai/v0/memories/{memory_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tags": [
    "<string>"
  ],
  "metadata": {},
  "archived": true,
  "valid_to": "2023-11-07T05:31:56Z",
  "status": "active"
}'
{
  "memory_id": "<string>",
  "org_id": "<string>",
  "namespace": "default",
  "agent_id": "<string>",
  "entity_id": "<string>",
  "type": "fact",
  "text": "<string>",
  "metadata": {},
  "tags": [
    "<string>"
  ],
  "timestamp": "2023-11-07T05:31:56Z",
  "archived": false,
  "sensitivity": "auto",
  "subject": "<string>",
  "predicate": "<string>",
  "object": "<string>",
  "object_type": "literal",
  "unit": "<string>",
  "keys": [
    "<string>"
  ],
  "valid_from": "2023-11-07T05:31:56Z",
  "valid_to": "2023-11-07T05:31:56Z",
  "confidence": 0.5,
  "status": "active",
  "provenance": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Flumes-Org
string

Deprecated. Org is derived from API key; header is ignored.

Maximum length: 128

Path Parameters

memory_id
string
required

Body

application/json

Response

200
application/json

Updated memory

Base memory record (open-world). Write requests ignore org fields; org is taken from header.