Get bulk monitor metrics
vs_monitors_metrics_bulkFetch uptime or response-time metrics for up to 100 monitors in a single request. Use window for a preset window (1h, 6h, 24h, 7d, 30d, 90d, 365d; default 30d), supply both from and to (ISO 8601) for a custom date range, or set all: true for the full available history. Returns a monitors object keyed by monitor id.
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": {
"monitorIds": "<monitorIds>",
"metric": "<metric>"
},
"name": "vs_monitors_metrics_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 8601 end of a custom range. Must be supplied with `from`. | |
| all | No | Return the full available history from the earliest stored data. Takes precedence over from/to and window. | |
| from | No | ISO 8601 start of a custom range (e.g. 2026-01-01T00:00:00Z). Must be supplied with `to`. | |
| metric | Yes | Metric to return: "uptime" or "response-time". | |
| window | No | Preset window: 1h, 6h, 24h, 7d, 30d, 90d, 365d. Default 30d. Ignored when from+to or all are supplied. | |
| monitorIds | Yes | List of monitor IDs to fetch metrics for (max 100). |