Get a monitor's response time by region
get_response_time_by_regionChart a monitor's average response time by region over time to pinpoint where it is slow and since when.
Instructions
Chart one monitor's average response time over time, one series per region, to see where it is slow and since when. Returns monitor_id, window, bucket_seconds and regions, each with region, display_name and points (oldest first, the same buckets in every series: bucket_start, avg_response_time_ms, null when the bucket had no successful check, and sample_count). Every configured region has a series, even an empty one, followed by removed regions that still had checks; points start at the window's start or at the monitor's creation. For uptime use get_uptime_summary; for single checks use list_check_results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | 24h (the default; up to 24 hourly buckets), 7d (up to 28 six-hourly buckets) or 30d (up to 30 daily buckets). | |
| monitor_id | Yes | The monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | ||
| regions | Yes | ||
| monitor_id | Yes | ||
| bucket_seconds | Yes |