v1

latestOpenAPI 3.1.02026-07-13372867.8 KB
filesystem

Get Directory Tree

Generates a tree representation of a directory structure.

post/api/filesystem/tree

Request body

pathstring required

Root directory path

max_depthinteger

Maximum depth to traverse

include_hiddenboolean

Whether to include hidden files/directories

patternstring nullable

Glob pattern to filter results

Example request

{
  "include_hidden": false,
  "max_depth": 3,
  "path": "/home/user/project",
  "pattern": "*.py"
}

Response

Successfully generated directory tree

object required