Get check latency metrics
get_check_metricsRead recorded latency counts, min, mean, p50, p95 and max for 7, 14, 30 or 90 calendar days, up to the plan's limits.run_history_days. probe_id or resolver_id narrows the result to one source. Not an availability estimate. time_zone (an IANA name) sets the zone for days and timestamps; the default is UTC, and responses name their zone.
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": {
"id": "<id>"
},
"name": "get_check_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Check id (check_…). | |
| days | No | Days of individual runs, up to the plan's limit. Defaults to 30, or the plan's limit when shorter. | |
| probe_id | No | Only runs from this probe location, by the probe_id a run reports. | |
| time_zone | No | IANA time zone for days and timestamps, such as America/Chicago. Defaults to UTC. | |
| resolver_id | No | Only runs from this DNS resolver, by the resolver_id a run reports. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end_at | Yes | ||
| probe_id | Yes | ||
| start_at | Yes | ||
| run_count | Yes | ||
| time_zone | Yes | ||
| resolver_id | Yes | ||
| max_duration_ms | Yes | ||
| min_duration_ms | Yes | ||
| p50_duration_ms | Yes | ||
| p95_duration_ms | Yes | ||
| measurement_count | Yes | ||
| average_duration_ms | Yes |