Get incidents
get_incidentsRead the downtime history of one monitor: when each outage began, when it ended, how long it lasted and what the failure actually was - HTTP status, error text, and which probe saw it. This is the tool for "what happened" and "how often does this break". For the shape of response times around an outage, follow up with get_stats_hourly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"monitorId": "<monitorId>"
},
"name": "get_incidents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based. Defaults to 1. | |
| monitorId | Yes | Monitor id, as returned by list_monitors. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The rows on this page. | |
| totalItems | No | Total across all pages, not just this one. |