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 it, or pass null, to keep the note until explicit deletion. Your privacy retention setting does not apply. 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.