Deploys to a monitor or server
list_deploysThe deploys linked to one monitor (monitor) or server (server) between from and to; the window defaults to the 24 hours before to, which defaults to now. Also lists the repositories linked to it. Each deploy carries its verification: after a successful production deploy (the repository default branch, an environment GitHub or its name marks as production, or as the production setting of the repository says) its monitors are checked more often for an hour, then that hour is compared with the hour before it — state (watching until until, then done; cut_at when a newer deploy reached one of its monitors first and ended the window there for that monitor), verdict (better, unchanged, worse or insufficient; with reason: plan_interval and the plan interval in plan_interval_seconds when the plan check interval left too few checks for a verdict), a summary of the p95 response time and failure share, and per monitor and location the numbers on both sides. For a monitor, only what the deploy did to that monitor; null when the deploy was not verified. Here, pass monitor_id or server_id. For "did we ship something just before this broke", pass the window around an incident's start; deploy_changes shows what a deploy contained. Each deploy's verification.verdict says whether it made the monitor worse (p95 and failed checks per location, the hour after against the hour before).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_deploys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Up to this time (ISO 8601); default now. | |
| from | No | From this time (ISO 8601); default 24 hours before `to`. | |
| server_id | No | The server whose deploys to list, from list_servers. Pass this or monitor_id. | |
| monitor_id | No | The monitor whose deploys to list, from list_monitors. Pass this or server_id. | |
| organization_id | No | The organization to read. Leave it out when the token reaches only one. |