Skip to main content
POST
Get Directory Tree

Body

application/json
path
string
required

Root directory path

Example:

"/home/user/project"

max_depth
integer
default:3

Maximum depth to traverse

Required range: x >= 1
Example:

3

include_hidden
boolean
default:false

Whether to include hidden files/directories

Example:

false

pattern
string | null

Glob pattern to filter results

Example:

"*.py"

Response

Successfully generated directory tree

The response is of type Response Getdirectorytree · object.