List your files. When you list a folder, you can also get its subfolders.
Same flow in MCP: beecargo_list_files
Required. Send Authorization: Bearer YOUR_API_KEY.
List your uploaded files with pagination.
# List all files (first page, 50 per page)
curl https://api.beecargo.net/files/list \
-H "Authorization: Bearer YOUR_API_KEY"
# With pagination
curl "https://api.beecargo.net/files/list?page=2&limit=25" \
-H "Authorization: Bearer YOUR_API_KEY"
# Filter by folder
curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"
# List files in root folder only (no folder)
curl "https://api.beecargo.net/files/list?folderId=null" \
-H "Authorization: Bearer YOUR_API_KEY"
# List folder contents (files + subfolders)
curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"data holds files. folders is included when you list a folder and includeFolders is true. With runId, the response is a run artifact list (data.runId + data.artifacts) instead of the paginated library shape.
To list folders only (all folders or children of a parent), use the folders endpoint. Same API key as above.
Query params: parentId (folder UUID or "null" for root), page, limit, search. Response: { success, data: [ folders ], pagination }. Each folder includes id, name, parent_id, file_count, and total_size when not searching.