Files
File Tree
File Tree
GET
/v2/tasks/{task_id}/files/treePath Parameters
task_idstring · uuidrequiredQuery Parameters
pathstringoptionalRoot of the tree (default: workspace root)
max_depthintegeroptionalmax_entriesintegeroptionalRequest
curl --request GET \
--url https://api.brainbaselabs.com/v2/tasks/{task_id}/files/tree \
--header 'Authorization: Bearer YOUR_API_KEY'Response
json{
"name": "string",
"path": "string",
"is_dir": true,
"size": 0,
"children": [
{}
]
}