---
title: "Fuzzy search for files and directories"
method: GET
path: "/filesystem-search/{path}"
tags: ["filesystem"]
---

# Fuzzy search for files and directories

`GET /filesystem-search/{path}`

Performs fuzzy search on filesystem paths using fuzzy matching algorithm. Optimized alternative to find and grep commands.

## Path parameters

- `path` string, required

## Query parameters

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

## Response `200`

Fuzzy search results

- FuzzySearchResponse
  - `matches` FuzzySearchMatch[], required
    - `path` string, required
    - `score` integer, 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)
