List Project Folders And Files
list_project_folders_and_filesList all folders and files in a Procore project's root folder. Filter results by excluding folders or files, showing only the latest version, and paginate to manage document enumeration.
Instructions
Returns a list of folders and files for a specified project. Note: this operation will return all of the folders and files within the root folder of that project's document structure. For any folders that are nested more deeply an empty array [] will be returned. Use this to enumerate Documents when you need a paginated overview, to find IDs, or to filter by query parameters. Returns a paginated JSON array of Documents. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: project_id. Procore API: Core > Documents. Endpoint: GET /rest/v1.0/folders
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Query string parameter — unique identifier for the project. | |
| exclude_folders | No | Query string parameter — exclude child folders from results. Must be either true or false. | |
| exclude_files | No | Query string parameter — exclude child files from results. Must be either true or false. | |
| show_latest_file_version_only | No | Query string parameter — show only the latest file version. Must be either true or false. | |
| page | No | Page number for paginated results (default: 1) | |
| per_page | No | Number of items per page (default: 100, max: 100) |