FishMem

Update a memory

Edit a memory's text or metadata.

PUT /v1/memories/{id}

Updates the text and/or metadata of an existing memory identified by {id}.

Parameters

FieldTypeRequiredDescription
idstringyesMemory ID (path parameter), e.g. mem_…
textstringnoNew memory text
metadataobjectnoReplacement metadata

Request

curl -X PUT https://fishmem.com/v1/memories/mem_123 \
  -H "Authorization: Bearer fm_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "Prefers light mode"}'

Response

{ "id": "mem_…", "memory": "Prefers light mode", "event": "UPDATE" }

Credits

Free.

Errors

Returns the standard error shape. A missing or invalid key returns 401 with "error": "INVALID_API_KEY".

On this page