List Project Locations
list_project_locationsRetrieve a paginated list of locations for a specified Procore project. Use it to discover location IDs or names for use in other project-related tools.
Instructions
Return a list of Locations associated with a Project. Use this to discover project locations or to look up the id of one before calling a tool that needs it. project_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of project locations; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id. Procore API: Core > Project. Endpoint: GET /rest/v1.0/projects/{project_id}/locations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Query string parameter — page number for paginated results (default: 1) | |
| sort | No | Query string parameter — sort order for results. Prefix with '-' for descending order | |
| per_page | No | Query string parameter — number of items per page (default: 100, max: 100) | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| filters__id | No | Query string parameter — return item(s) with the specified IDs. | |
| filters__code | No | Query string parameter — return location(s) matching any of the specified codes in the search term. | |
| filters__search | No | Query string parameter — returns item(s) matching the specified search query string. | |
| filters__parent_id | No | Query string parameter — return location(s) with the specified parent_ids. | |
| filters__updated_at | No | Query string parameter — return item(s) last updated within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYY... | |
| filters__depth_range | No | Query string parameter — return item(s) with a tree depth within the specified range. Examples: `0...1` - Parents and children `0...2` - Parents, children, and grandchildren `1...2` - Children and grandchildren | |
| filters__search_with_code | No | Query string parameter — return item(s) where the location code or the location name match the search term | |
| filters__sublocations_for | No | Query string parameter — return sublocations (descendants) of the specified location ids. | |
| filters__superlocations_for | No | Query string parameter — return superlocations (ancestors) of the specified location ids. |