---
title: "Read a memory file"
method: GET
path: "/v3/organizations/{orgId}/memory/file"
tags: ["Memory"]
---

# Read a memory file

`GET /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

Returns one file's whole text and its `revision_id`. Send the `revision_id` back as `expected_revision_id` on `writeMemoryFile` to change the file only if nobody changed it since. Paths are matched in any case and with or without `.md`.

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

## Query parameters

- `scope` 'personal' | 'team', required
- `path` string, required

## Response `200`

The file.

- MemoryFileResponse
  - `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.
  - `file` MemoryFile
    - `path` string
    - `content` string
    - `byte_length` integer
    - `updated_at` string, date-time, nullable
    - `revision_id` string, nullable: The revision this text is; send it as `expected_revision_id` to write only if nobody changed the file since.

## Other responses

- `400`: Invalid request.
- `401`: Missing, invalid, or expired key.
- `403`: The key lacks the required scope or role.
- `404`: Resource not found.
- `429`: Too many requests. Retry after the number of seconds in the `Retry-After` response header.

## Changes

- **2026-10-26** `c250866428e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ara/apis/reason-api/changes/v3/organizations/:orgId/memory/file/get.md)

---

[API](https://skmtc.dev/ara/apis/reason-api.md) - [All operations](https://skmtc.dev/ara/apis/reason-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ara/apis/reason-api/revisions/e97c8704807c?raw)
