---
title: "List directory contents"
method: GET
path: "/v1/computer/{machine_id}/fs/list"
tags: ["computer"]
---

# List directory contents

`GET /v1/computer/{machine_id}/fs/list`

## Request

- Base URL: `https://api.cyberdesk.io`
- URL: `https://api.cyberdesk.io/v1/computer/{machine_id}/fs/list`
- Auth: HTTP bearer

List directory contents on the machine.

## Path parameters

- `machine_id` string, required

## Query parameters

- `path` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud.md) - [All operations](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/revisions/5579352ae05e?raw)
