---
title: "Read an automation memory file"
method: GET
path: "/api/v0/automations/{automationId}/memory/file"
tags: ["Automations"]
---

# Read an automation memory file

`GET /api/v0/automations/{automationId}/memory/file`

## Request

- Base URL: `https://api.factory.ai`
- URL: `https://api.factory.ai/api/v0/automations/{automationId}/memory/file`
- Auth: HTTP bearer

Available only while automation memory tools are enabled for the caller; a request that reaches this operation with that feature disabled answers 404. Readable by the automation's owner, by every member for an automation shared with the organization, and by the service account the automation runs as; any other automation answers 404, and one whose runs keep no memory answers 409. One file under the automation's memory/ directory, from the cloud copy or from the computer that hosts the automation, with its sha256 to name as the base of a later whole-file write. runs.json is served only to the owner and to the service account the automation runs as (403 for any other reader); secrets.json is never served; a file synced by name and size only answers 409; one too large to answer from its host answers 413.

## Path parameters

- `automationId` string, required: Automation ID

## Query parameters

- `path` string, required: Path of the file under memory/ (for example notes.md)

## Headers

- `X-Factory-Org-Id` string

## Response `200`

One memory file with its text; sha256 is the base a later whole-file write names.

- GetAutomationMemoryFile200ResponseBody: One memory file with its text; sha256 is the base a later whole-file write names.
  - `path` string, required
  - `content` string, required
  - `sha256` string, required
  - `sizeBytes` number, required
  - `access` 'editable' | 'read_only', required

## Other responses

- `400`: Response for status 400
- `401`: Response for status 401
- `402`: Response for status 402
- `403`: Response for status 403
- `404`: Response for status 404
- `409`: Response for status 409
- `413`: Response for status 413
- `424`: Response for status 424
- `451`: Response for status 451
- `500`: Response for status 500
- `503`: Response for status 503

## Changes

- **2026-11-18** `7767ce7900e0`: 1 info
  - the response property `access` became required for the status `200`
- **2026-11-12** `b6a46c415079`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/automations/:automationId/memory/file/get.md)

---

[API](https://skmtc.dev/factory/apis/factory-public-api.md) - [All operations](https://skmtc.dev/factory/apis/factory-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factory/apis/factory-public-api/revisions/2e37e1b079d2?raw)
