List incidents
list_incidentsList incidents across the account's checks that are still open or were resolved in the last 7 or 30 days (30 by default), newest first, 20 per page. Each item has the incident id, check id and name, cause (what failed, such as an HTTP status or a missed heartbeat; null when none was recorded), started_at, resolved_at (null while open), resolved and duration_seconds, which counts up to now for open incidents. Filter by one check or by open or resolved state. Notes, status updates and notification details aren't included. next_cursor is null on the last page.
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_incidents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Include incidents still open or resolved within this many days. Defaults to 30. | |
| limit | No | Items per page, 1 to 100. Defaults to 20. | |
| state | No | Only open or only resolved incidents. Omit for both. | |
| cursor | No | next_cursor from the previous page. Omit for the first page; next_cursor is null on the last. | |
| check_id | No | Only incidents of this check (check_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| next_cursor | Yes |