aps_get_folder_contents
Get a compact summary of a folder's contents including item counts, file type breakdown, total size, and lists of folders and files. Filter by file extensions and exclude hidden items to reduce response size by ~95%.
Instructions
Get a summarised listing of a folder's contents. Returns a compact JSON with: summary (item counts, file type breakdown, total size), folders (name, id, item count), and files (name, id, type, size, version, dates). This is ~95 % smaller than the raw API response.
Supports optional filtering by file extension and hiding hidden items. For the full raw response, use aps_dm_request instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID – starts with 'b.'. | |
| folder_id | Yes | Folder URN – starts with 'urn:'. | |
| filter_extensions | No | Optional list of file extensions to include (e.g. [".rvt", ".nwd", ".ifc"]). Omit to return all file types. | |
| exclude_hidden | No | When true, exclude hidden items. Defaults to false. | |
| page_limit | No | Max items per page (1‑200). Defaults to 200. |