filesystem
Find files and directories
Finds files and directories using the find command.
get/filesystem-find/{path}
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesadmin
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"matches": [
{
"path": "src/main.go",
"type": "file"
}
],
"total": 5
}Changes
No recorded changes to this operation across all 1 revision of this API.