POST Evaluate HTTP response times by location and region
/api/v1/monitors/{id}/response-times/evaluate
Compare all retained regular HTTP check durations by location or world region in one snapshot. Means are weighted by sample count; the overall average includes hidden locations. Missing measurements remain gaps. Automatic display shares a 16,000-point and 4 MiB result budget across both representations. Original and live capacity limits are explicit; realtime alarm series are unchanged.
On this page
Access and permissions
Compare all retained regular HTTP check durations by location or world region in one snapshot. Means are weighted by sample count; the overall average includes hidden locations. Missing measurements remain gaps. Automatic display shares a 16,000-point and 4 MiB result budget across both representations. Original and live capacity limits are explicit; realtime alarm series are unchanged.
Browser session: __Host-mb_session cookie.
Machine management credentials in Authorization: Bearer. Check the permissions (scopes) required by the operation.
When using a browser session for a mutation, send the current CSRF token in X-CSRF-Token with the same-site cookie. OAuth consent uses its documented form field.
Parameters and headers
| Field | Location | Type and limits | Required | Meaning |
|---|---|---|---|---|
| id | Path | string; {"format":"uuid"} | Yes | Resource ID in this workspace |
Request body
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.from | string; {"format":"date-time"} | Yes | — |
| $.to | string; {"format":"date-time"} | Yes | — |
| $.resolution | string; {"enum":["auto","raw","minute","quarter_hour","hour"]} | No | — |
Responses
| Stable error codes |
|---|
| invalid_session |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| Stable error codes |
|---|
| csrf |
| forbidden |
| insufficient_scope |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| Stable error codes |
|---|
| not_found |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| Stable error codes |
|---|
| invalid_monitor |
| invalid_query |
| invalid_resolution |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| Stable error codes |
|---|
| query_limit |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
| Stable error codes |
|---|
| unavailable |
application/problem+json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | Problem | Yes | — |
| $.code | string | Yes | Stable machine-readable error code |
| $.detail | string | Yes | Short localized explanation without internal error details |
| $.instance | string | Yes | Unique relative identifier /api/v1/requests/{request_id}; not a retrievable resource |
| $.message | string | Yes | Temporarily identical to detail for existing clients |
| $.message_key | string | Yes | Stable translation key for changing the displayed language without another request |
| $.message_params | object; {"additionalProperties":true} | Yes | Named, safely rendered message parameters; never arbitrary HTML |
| $.request_id | string; {"pattern":"^[0-9a-f]{32}$"} | Yes | Server-generated diagnostic identifier. It contains no login token or credential. |
| $.status | integer; {"maximum":599,"minimum":400} | Yes | — |
| $.title | string | Yes | Localized HTTP status title |
| $.type | string; {"const":"about:blank"} | Yes | — |
application/json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.id | string; {"format":"uuid"} | Yes | — |
| $.status | string; {"enum":["queued","running","complete"]} | Yes | — |
| $.result | HTTPResponseTimes | null | Yes | — |
| $.result (anyOf 1) | HTTPResponseTimes | No | — |
| $.result (anyOf 1).monitor_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).snapshot | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).display_seconds | integer | Yes | — |
| $.result (anyOf 1).resolution | string | Yes | — |
| $.result (anyOf 1).source | string | Yes | — |
| $.result (anyOf 1).completeness | string | Yes | — |
| $.result (anyOf 1).sources | array<HTTPResponseSource> | Yes | — |
| $.result (anyOf 1).sources[] | HTTPResponseSource | Yes | — |
| $.result (anyOf 1).sources[].id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).sources[].location_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).sources[].name | string | Yes | — |
| $.result (anyOf 1).sources[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.result (anyOf 1).sources[].interval_seconds | integer | Yes | — |
| $.result (anyOf 1).sources[].country_code | string | Yes | — |
| $.result (anyOf 1).sources[].active | boolean | Yes | — |
| $.result (anyOf 1).regions | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.result (anyOf 1).regions[].source_count | integer | Yes | — |
| $.result (anyOf 1).regions[].sum | number | Yes | — |
| $.result (anyOf 1).regions[].count | integer | Yes | — |
| $.result (anyOf 1).regions[].points | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[].points[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].points[].time | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].points[].sum | number | Yes | — |
| $.result (anyOf 1).regions[].points[].count | integer | Yes | — |
| $.result (anyOf 1).regions[].gaps | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[].gaps[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].reason | string | Yes | — |
| $.result (anyOf 1).sum | number | Yes | — |
| $.result (anyOf 1).count | integer | Yes | — |
| $.result (anyOf 1).version | integer; {"const":2} | Yes | — |
| $.result (anyOf 1).locations | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].sum | number | Yes | — |
| $.result (anyOf 1).locations[].count | integer | Yes | — |
| $.result (anyOf 1).locations[].points | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[].points[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].points[].time | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].points[].sum | number | Yes | — |
| $.result (anyOf 1).locations[].points[].count | integer | Yes | — |
| $.result (anyOf 1).locations[].gaps | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[].gaps[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].reason | string | Yes | — |
| $.result (anyOf 1).locations[].series_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).locations[].location_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 2) | null | No | — |
| $.sources | array<HTTPResponseSource> | Yes | — |
| $.sources[] | HTTPResponseSource | Yes | — |
| $.sources[].id | string; {"format":"uuid"} | Yes | — |
| $.sources[].location_id | string; {"format":"uuid"} | Yes | — |
| $.sources[].name | string | Yes | — |
| $.sources[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.sources[].interval_seconds | integer | Yes | — |
| $.sources[].country_code | string | Yes | — |
| $.sources[].active | boolean | Yes | — |
application/json
| Field | Type and limits | Required | Meaning |
|---|---|---|---|
| $ | object; {"additionalProperties":false} | Yes | — |
| $.id | string; {"format":"uuid"} | Yes | — |
| $.status | string; {"enum":["queued","running","complete"]} | Yes | — |
| $.result | HTTPResponseTimes | null | Yes | — |
| $.result (anyOf 1) | HTTPResponseTimes | No | — |
| $.result (anyOf 1).monitor_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).snapshot | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).display_seconds | integer | Yes | — |
| $.result (anyOf 1).resolution | string | Yes | — |
| $.result (anyOf 1).source | string | Yes | — |
| $.result (anyOf 1).completeness | string | Yes | — |
| $.result (anyOf 1).sources | array<HTTPResponseSource> | Yes | — |
| $.result (anyOf 1).sources[] | HTTPResponseSource | Yes | — |
| $.result (anyOf 1).sources[].id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).sources[].location_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).sources[].name | string | Yes | — |
| $.result (anyOf 1).sources[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.result (anyOf 1).sources[].interval_seconds | integer | Yes | — |
| $.result (anyOf 1).sources[].country_code | string | Yes | — |
| $.result (anyOf 1).sources[].active | boolean | Yes | — |
| $.result (anyOf 1).regions | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.result (anyOf 1).regions[].source_count | integer | Yes | — |
| $.result (anyOf 1).regions[].sum | number | Yes | — |
| $.result (anyOf 1).regions[].count | integer | Yes | — |
| $.result (anyOf 1).regions[].points | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[].points[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].points[].time | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].points[].sum | number | Yes | — |
| $.result (anyOf 1).regions[].points[].count | integer | Yes | — |
| $.result (anyOf 1).regions[].gaps | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).regions[].gaps[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).regions[].gaps[].reason | string | Yes | — |
| $.result (anyOf 1).sum | number | Yes | — |
| $.result (anyOf 1).count | integer | Yes | — |
| $.result (anyOf 1).version | integer; {"const":2} | Yes | — |
| $.result (anyOf 1).locations | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].sum | number | Yes | — |
| $.result (anyOf 1).locations[].count | integer | Yes | — |
| $.result (anyOf 1).locations[].points | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[].points[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].points[].time | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].points[].sum | number | Yes | — |
| $.result (anyOf 1).locations[].points[].count | integer | Yes | — |
| $.result (anyOf 1).locations[].gaps | array<object; {"additionalProperties":false}> | Yes | — |
| $.result (anyOf 1).locations[].gaps[] | object; {"additionalProperties":false} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].from | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].to | string; {"format":"date-time"} | Yes | — |
| $.result (anyOf 1).locations[].gaps[].reason | string | Yes | — |
| $.result (anyOf 1).locations[].series_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 1).locations[].location_id | string; {"format":"uuid"} | Yes | — |
| $.result (anyOf 2) | null | No | — |
| $.sources | array<HTTPResponseSource> | Yes | — |
| $.sources[] | HTTPResponseSource | Yes | — |
| $.sources[].id | string; {"format":"uuid"} | Yes | — |
| $.sources[].location_id | string; {"format":"uuid"} | Yes | — |
| $.sources[].name | string | Yes | — |
| $.sources[].group | string; {"enum":["Europe","NorthAmerica","SouthAmerica","MiddleEast","Asia","Africa","Oceania","Private","Unknown"]} | Yes | — |
| $.sources[].interval_seconds | integer | Yes | — |
| $.sources[].country_code | string | Yes | — |
| $.sources[].active | boolean | Yes | — |
Retries and asynchronous work
This change does not have a general retry guarantee. If the response is unclear, read the affected resource before trying again. Follow Retry-After waiting times and request new sign-in or action codes when they expire.
HTTP 202 means the background job was accepted. Use the returned job ID to check its status. Download results when the job is complete, or inspect its error or cancellation status.
Request examples
Replace demo IDs, timestamps and placeholders with your own values. For a retry, keep the same IDs, time and content. These examples do not run requests on this page.
Keep login links, codes, cookies and keys private. Do not print them in logs or share them in support requests.
curl --silent --show-error --output /dev/null --write-out "%{http_code}\n" --request POST --header @"$HOME/.config/metribeacon/headers.txt" --header "Content-Type: application/json" --data-binary '{"from":"2026-10-14T00:00:00Z","to":"2026-10-15T00:00:00Z","resolution":"auto"}' "https://metribeacon.com/api/v1/monitors/00000000-0000-4000-8000-000000000001/response-times/evaluate"
import http.client, json
from pathlib import Path
headers = json.loads((Path.home() / ".config/metribeacon/headers.json").read_text())
headers["Content-Type"] = "application/json"
connection = http.client.HTTPSConnection("metribeacon.com", timeout=10)
connection.request('POST', '/api/v1/monitors/00000000-0000-4000-8000-000000000001/response-times/evaluate', body='{"from":"2026-10-14T00:00:00Z","to":"2026-10-15T00:00:00Z","resolution":"auto"}', headers=headers)
response = connection.getresponse()
print(response.status)
connection.close()
import { readFile } from "node:fs/promises";
import { homedir } from "node:os";
import { join } from "node:path";
const headers = JSON.parse(await readFile(join(homedir(), ".config/metribeacon/headers.json"), "utf8"));
headers["Content-Type"] = "application/json";
const response = await fetch("https://metribeacon.com/api/v1/monitors/00000000-0000-4000-8000-000000000001/response-times/evaluate", {method: "POST", headers, redirect: "error", signal: AbortSignal.timeout(10000), body: "{\"from\":\"2026-10-14T00:00:00Z\",\"to\":\"2026-10-15T00:00:00Z\",\"resolution\":\"auto\"}"});
console.log(response.status);
await response.body?.cancel();
package main
import ("fmt"; "net/http"; "time"; "encoding/json"; "os"; "path/filepath"; "strings")
func main() {
home, err := os.UserHomeDir(); if err != nil { panic("credentials unavailable") }
raw, err := os.ReadFile(filepath.Join(home, ".config/metribeacon/headers.json")); if err != nil { panic("credentials unavailable") }
var headers map[string]string
if json.Unmarshal(raw, &headers) != nil { panic("invalid local headers") }
request, err := http.NewRequest("POST", "https://metribeacon.com/api/v1/monitors/00000000-0000-4000-8000-000000000001/response-times/evaluate", strings.NewReader("{\"from\":\"2026-10-14T00:00:00Z\",\"to\":\"2026-10-15T00:00:00Z\",\"resolution\":\"auto\"}")); if err != nil { panic("request invalid") }
for name, value := range headers { request.Header.Set(name, value) }
request.Header.Set("Content-Type", "application/json")
client := &http.Client{Timeout: 10*time.Second, CheckRedirect: func(*http.Request, []*http.Request) error { return http.ErrUseLastResponse }}
response, err := client.Do(request); if err != nil { panic("request failed") }
defer response.Body.Close()
fmt.Println(response.StatusCode)
}
Related guides
- HTTP API, OAuth and MCP
Find the user API endpoints, their permissions, fields, examples and response formats.
- GET Read the monitor’s aggregate availability source
HTTP and TCP, UDP, DNS, TLS, ping, service, domain and browser monitors use one aggregate availability series per monitor. For multiple checking locations, this series follows the monitor’s configured confirmation and any/all/quorum policy. Per-location and per-engine durations are never added together. The catalog includes active monitors with availability collection enabled; the individual source also exposes retained history when collection is disabled. Unknown, paused and unobserved time never count as confirmed availability. SLOs and reports use the same source and retain their separate maintenance calculations.
- POST Evaluate monitor availability
Evaluates the last 90 days and periods of 24 hours, 7, 30 and 90 days using the monitor’s aggregate availability source. Calendar days use the requesting account’s time zone. Unknown, paused and missing time is not confirmed uptime. Existing history-query capacity and retention apply. Reuses equivalent running jobs or results up to five minutes old; poll the returned archive job for completion.
- GET Read SSL certificate details
Read bounded, location-bound certificate evidence. Automatic certificate diagnostics and remaining-day measurements run hourly; domain diagnostics run daily. Rechecks require edit rights, a saved target, the current configuration revision and an operation id. They use check quotas without changing regular HTTP measurements or alarm confirmations. Unknown or stale evidence does not confirm validity.