---
title: "Get Agent Memory File"
method: GET
path: "/v2/agents/{agent_id}/memory/files/{path}"
tags: ["Agent Memory"]
---

# Get Agent Memory File

`GET /v2/agents/{agent_id}/memory/files/{path}`

Get the contents of a single memory file for an agent.

## Path parameters

- `agent_id` string, uuid, required
- `path` string, required

## Response `200`

Default Response

- object
  - `path` string, required — Relative path of the file within agent memory
  - `content` string, required — UTF-8 decoded contents of the file
  - `generation` string — GCS object generation of the file's current contents
  - `source_type` 'job' | 'user'
  - `source_agent_run_id` string
  - `source_user_id` string
  - `source_updated_at` string

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.dev/duvo/apis/duvo-public-api.md) · [All operations](https://skmtc.dev/duvo/apis/duvo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/duvo/duvo-public-api/revisions/dafcf3d868a9/schema)
