Shared File Tree
Shared Files

Shared File Tree

Shared File Tree

GET/v2/agents/{agent_id}/shared/files/tree

Path Parameters

agent_idstring · uuidrequired

Query Parameters

pathstringoptional

Root path inside the shared folder

max_depthintegeroptional
max_entriesintegeroptional
Request
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": [
    {}
  ]
}