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
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Memory ID (path parameter), e.g. mem_… |
text | string | no | New memory text |
metadata | object | no | Replacement 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".