Skip to main content
PUT

Path parameters

string
required
The memory UUID, not its key.

Request body

string
required
Note text, at most 65,536 UTF-8 bytes.
integer | null
Minutes after this write before the note expires, from 1 to 2147483647. Omit to use the caller’s current privacy setting; with no retention limit, the note is kept. Pass null to keep it until explicit deletion. Every write restarts the window and chooses the retention again, including an update that omits this field.

Response

200 with the updated memory object. The namespace and key stay unchanged.

Errors

404 if the note is absent or belongs to another organization. 422 for invalid input. See common errors.