Shared Files
Shared File Tree
Shared File Tree
GET
/v2/agents/{agent_id}/shared/files/treePath Parameters
agent_idstring · uuidrequiredQuery Parameters
pathstringoptionalRoot path inside the shared folder
max_depthintegeroptionalmax_entriesintegeroptionalRequest
curl --request GET \
--url https://api.brainbaselabs.com/v2/agents/{agent_id}/shared/files/tree \
--header 'Authorization: Bearer YOUR_API_KEY'Response
json{
"name": "string",
"path": "string",
"is_dir": true,
"size": 0,
"children": [
{}
]
}