---
title: "Get Mount Files"
method: GET
path: "/mounts/{mount_id}/files"
tags: ["Mounts"]
---

# Get Mount Files

`GET /mounts/{mount_id}/files`

## Path parameters

- `mount_id` string, uuid, required

## Query parameters

- `path` string, nullable
- `read` string, nullable
- `order` 'recent' | 'name' | 'path', nullable
- `limit` integer, nullable
- `depth` integer, nullable
- `with_counts` boolean
- `git_aware` boolean
- `include_gitignored` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/2e1079696f45/schema)
