Memory

List memory files

Changed on

Lists every file in one memory scope. Memory is what Reasons know across Sessions: each Session starts by reading MEMORY.md (the index) and the list of notes, and reads a note when its topic comes up.

  • scope=personal is the memory of the person the API key or OAuth grant belongs to. Only they and their own Sessions see it.
  • scope=team is the Workspace's team memory, which every member's Sessions read. Any member reads it; only an owner or admin writes it.

Viewers who are not members of the Workspace have no memory here.

<sub>Scope: memory:read</sub>

get/v3/organizations/{orgId}/memory/files

Request

  • Base URL
    https://api.reasonmachines.com
  • URL
    https://api.reasonmachines.com/v3/organizations/{orgId}/memory/files
  • 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.

Response

The scope's files.

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.

can_writeboolean

Whether the caller may write and delete files in this scope: always for personal memory, only for a Workspace owner or admin in team memory.

Changes