File System
Get file/dir
GET
JavaScript
Authorizations
Enter your API Key in the format: Bearer <token>. Get it from https://gbox.ai
Path Parameters
Box ID
Example:
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Query Parameters
Working directory. If not provided, the file will be read from the box.config.workingDir
directory.
Example:
"/home/user/documents"
Target path in the box. If the path does not start with '/', the file/directory will be checked relative to the working directory
Example:
"/home/user/documents/output.txt"
Response
200
application/json
Get file/dir
File system file representation
File system file representation
File system directory representation
JavaScript