get_monitor_history
Retrieve alert and trigger history for a monitor over a specified time range. Falls back to current status if history is unavailable.
Instructions
Get alert/trigger history for a monitor.
Returns events within the time range. Falls back to current status if the history endpoint is unavailable.
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": {
"monitor_id": "<monitor_id>"
},
"name": "get_monitor_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_time | No | End time — same formats | now |
| from_time | No | Start time — ISO 8601, relative (-1h, -1d), or 'now' | -24h |
| monitor_id | Yes | Monitor ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |