---
title: "List Workspace Files"
method: GET
path: "/v1/workspaces/{workspace}/files"
tags: ["v1", "protected", "files"]
---

# List Workspace Files

`GET /v1/workspaces/{workspace}/files`

List the files a person put in the workspace.

What a task produced is not among them: a task's files belong to that run
and are browsed on the task itself, so they stay out of the workspace view
even though ``tasks/{id}/workspace/{path}`` remains readable by that name.

## Path parameters

- `workspace` string, required — Slug of the workspace the request acts in

## Response `200`

Successful Response

- WorkspaceFileListResponse
  - `directories` string[]
  - `files` WorkspaceFileInfo[], required
    - `content_type` string, nullable
    - `last_modified` string, nullable
    - `path` string, required
    - `size` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/files/get.md)

---

[API](https://skmtc.dev/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.dev/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentarea/apis/agentarea-api/revisions/d3ad8e1a3681?raw)
