---
title: "List files in a ChatUI project workspace directory"
method: GET
path: "/api/v1/chat/projects/{project_id}/workspace/files"
tags: ["Chat"]
---

# List files in a ChatUI project workspace directory

`GET /api/v1/chat/projects/{project_id}/workspace/files`

**Required scope:** `chat`

## Path parameters

- `project_id` string, required

## Query parameters

- `path` string

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

## Changes

- **2026-08-01** `a5e99bb08e5d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/chat/projects/:project_id/workspace/files/get.md)

---

[API](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/9f8da1b16ca0/schema)
