List Deployments
list_deploymentsRetrieve a site's deployment history with commit, author, status, duration and timestamps. Find when a site last shipped or identify a failed deployment to inspect further.
Instructions
A site's deployment history — commit, author, status, duration and timestamps. Use it to find when a site last shipped, or to identify a failed deployment to inspect with get_deployment. Newest first unless you pass sort (Forge's own default is oldest first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id from list_sites. | |
| 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. | |
| server | Yes | Server id the site is on. | |
| include | No | Comma-separated relationships to embed (e.g. "tags,latestDeployment"). | |
| page_size | No | Items per page, at most 30. Forge caps pages at 30 and silently returns 30 for anything larger, so read the "page" line and follow the cursor. | |
| organization | No | Organisation slug. Optional when the server has a default configured. |