---
title: "List Workspace Files"
method: GET
path: "/api/files"
tags: ["workspace-files"]
---

# List Workspace Files

`GET /api/files`

## Query parameters

- `path` string — Workspace-relative path
- `limit` integer
- `after` string, nullable

## Response `200`

Successful Response

- WorkspaceFileListResponse
  - `entries` WorkspaceFileEntryResponse[], required
    - `path` string, required
    - `kind` 'file' | 'directory', required
    - `byte_size` integer, nullable
    - `modified_at` string, nullable
    - `checksum_sha256` string, nullable
  - `truncated` boolean
  - `next_cursor` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.net/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/c47be4a3f07e/schema)
