Get Deployment Log
get_deployment_logRetrieve a deployment's stdout/stderr log to diagnose why a deploy failed. Get the deployment id from list_deployments first.
Instructions
The output of a deployment — the deploy script's stdout/stderr, which is what actually tells you why a deploy failed. Get the deployment id from list_deployments. Requires the site:manage-deploys scope; be aware that scope ALSO grants the ability to deploy, so a strictly read-only token will get a 403 here while list_deployments and get_deployment still work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id from list_sites. | |
| server | Yes | Server id the site is on. | |
| deployment | Yes | Deployment id from list_deployments. | |
| tail_lines | No | Return only the last N lines, where failures appear (default 200). Output is additionally capped by character count, so a very long single line cannot flood the response. | |
| organization | No | Organisation slug. Optional when the server has a default configured. |