List Sites
list_sitesList all sites in an organization across servers, showing domain, PHP version, repository, deployment, and maintenance status. Optionally include hosting server details.
Instructions
List every site in an organisation across all servers, with its domain, project type, PHP version, repository, deployment and maintenance-mode state. Prefer this over listing sites server by server. Note that the hosting server is NOT included by default — pass include="server" to answer "which server hosts acme.com?" in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Comma-separated fields to sort by; prefix with "-" to reverse (e.g. "-created_at"). | |
| cursor | No | Pagination cursor from a previous response's meta.next_cursor. | |
| filter | No | Field filters, e.g. {"name": "acme-web"}. Supported fields vary by endpoint. | |
| include | No | Comma-separated relationships to embed (e.g. "tags,latestDeployment"). | |
| page_size | No | Items per page (Forge default 30). | |
| organization | No | Organisation slug. Optional when the server has a default configured. |