Write a memory file
Changed onCreates a file or replaces its whole text. Reasons read the change from their next Session on: MEMORY.md is in every Session's starting context, so keep it short and put detail in topic notes, which a Session reads when it needs them.
Personal memory is the caller's own; team memory takes direct writes only from a Workspace owner or admin (403 for other members). The change is stored as a revision under the caller's name with no source Session, so it shows in memory history and can be restored. Paths are normalized (lower case, .md added); empty text (for a note), text over the size limit (32 KiB a note, 12 KiB MEMORY.md), or text holding a secret or instructions aimed at a later Session is refused with 422, and a new note in a folder that already holds 200 answers 409. Personal memory that its owner turned off cannot change (409 memory_disabled).
<sub>Scope: memory:write</sub>
Request
- Base URLhttps://api.reasonmachines.com
- URLhttps://api.reasonmachines.com/v3/organizations/{orgId}/memory/file
- AuthHTTP bearer
Request body
Response
The file as stored.
Changes
- info
endpoint added
- info