Memory

Delete a memory file

Changed on

Deletes one note. The deletion is a revision like any other change, so the note can be restored from memory history in Settings. MEMORY.md cannot be deleted (400); rewrite it shorter instead. Team notes take deletes only from a Workspace owner or admin.

<sub>Scope: memory:write</sub>

delete/v3/organizations/{orgId}/memory/file

Request

  • Base URL
    https://api.reasonmachines.com
  • URL
    https://api.reasonmachines.com/v3/organizations/{orgId}/memory/file
  • Auth
    HTTP bearer

Query parameters

scope'personal' | 'team' required

personal: the memory of the person the API key or OAuth grant belongs to, private to them. team: the Workspace's shared team memory, which every member's Sessions read.

pathstring required

The file's path within the scope: MEMORY.md (the index) or a note such as web-app.md. A name without an extension gets .md, and paths are lower case, so Web-App and web-app.md are one note. Personal notes may sit in up to three folders (projects/web-app.md); team notes sit at the top or in a place folder such as reasons/<key>/. A memory:/ or team:/ prefix is accepted and ignored.

Response

Deleted.

scope'personal' | 'team'

personal: the memory of the person the API key or OAuth grant belongs to, private to them. team: the Workspace's shared team memory, which every member's Sessions read.

pathstring
deletedboolean

Changes