List box files
Lists files and directories in a box. You can specify the directory path and depth, and optionally a working directory. The response includes metadata such as type, size, permissions, and last modified time.
Authorizations
Enter your API Key in the format: Bearer . Get it from https://gbox.ai
Path Parameters
Box ID
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Query Parameters
Working directory. If not provided, the file will be read from the box.config.workingDir directory.
"/home/user/documents"
Target directory path in the box
"/home/user/documents"
Depth of the directory
2
Response
List files
Response containing directory listing results
Array of files and directories
File system file representation
- File
- Directory