---
title: "Find files and directories"
method: GET
path: "/filesystem-find/{path}"
tags: ["filesystem"]
---

# Find files and directories

`GET /filesystem-find/{path}`

Finds files and directories using the find command.

## Path parameters

- `path` string, required

## Query parameters

- `type` string
- `patterns` string
- `maxResults` integer
- `excludeDirs` string
- `excludeHidden` boolean

## Response `200`

Find results

- FindResponse
  - `matches` FindMatch[], required
    - `path` string, required
    - `type` string, required — "file" or "directory"
  - `total` integer, required

## Other responses

- `400` — Bad request
- `422` — Unprocessable entity
- `500` — Internal server error

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/versions/dfa264bc72ee/schema)
