POST
/
api
/
filesystem
/
search

Body

application/json
pattern
string
required

Glob pattern to search for

root_path
string
required

Root directory to start search from

include_hidden
boolean
default:
false

Whether to include hidden files/directories

max_results
integer
default:
100

Maximum number of results to return

Required range: x > 0

Response

200 - application/json
is_hidden
boolean
required

Whether the file/directory is hidden

modified_time
string
required

Last modification time

name
string
required

File or directory name

path
string
required

Full path to the file or directory

size
integer
required

Size in bytes

type
string
required

Type of entry: 'file' or 'directory'

extension
string | null

File extension if applicable