v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
filesystem

Find files and directories

Finds files and directories using the find command.

get/filesystem-find/{path}

Path parameters

pathstring required

Path to search in (e.g., /home/user/projects)

Query parameters

typestring

Type of search (file or directory)

patternsstring

Comma-separated file patterns to include (e.g., .go,.js)

maxResultsinteger

Maximum number of results to return (default: 20). If set to 0, all results will be returned.

excludeDirsstring

Comma-separated directory names to skip (default: node_modules,vendor,.git,dist,build,target,pycache,.venv,.next,coverage). Use empty string to skip no directories.

excludeHiddenboolean

Exclude hidden files and directories (default: true)

Response

Find results

totalinteger required

Example response

{
  "matches": [
    {
      "path": "src/main.go",
      "type": "file"
    }
  ],
  "total": 5
}