MetriBeacon
Menu

GET Read a draft test result

/api/v1/monitors/checks/test-runs/{run_id}

Read your private draft test in its authorized workspace before its 15-minute expiry. Pending, running, unknown and confirmed target failures remain distinct.

On this page

Access and permissions

Read your private draft test in its authorized workspace before its 15-minute expiry. Pending, running, unknown and confirmed target failures remain distinct.

Browser session: __Host-mb_session cookie.

Machine management credentials in Authorization: Bearer. Check the permissions (scopes) required by the operation.

Parameters and headers

FieldLocationType and limitsRequiredMeaning
run_idPathstring; {"format":"uuid"}YesUnique resource identifier.
workspace_idURL querystring; {"format":"uuid"}YesUnique resource identifier.

Request body

No request body.

Responses

Stable error codes
invalid_credential
unauthorized
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
csrf
insufficient_scope
invalid_origin
operator_required
forbidden
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
invalid_workspace
not_found
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
invalid_workspace
stale_check
result_conflict
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
invalid_config
invalid_monitor
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
invalid_workspace
check_capacity
HeaderType and limitsMeaning
Retry-Afterstring; {"pattern":"^[0-9]+$"}Temporary server error; retry unchanged with Retry-After and the same idempotency identifier

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
Stable error codes
unavailable
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/problem+json

FieldType and limitsRequiredMeaning
$ProblemYes—
$.codestringYesStable machine-readable error code
$.detailstringYesShort localized explanation without internal error details
$.instancestringYesUnique relative identifier /api/v1/requests/{request_id}; not a retrievable resource
$.messagestringYesTemporarily identical to detail for existing clients
$.message_keystringYesStable translation key for changing the displayed language without another request
$.message_paramsobject; {"additionalProperties":true}YesNamed, safely rendered message parameters; never arbitrary HTML
$.request_idstring; {"pattern":"^[0-9a-f]{32}$"}YesServer-generated diagnostic identifier. It contains no login token or credential.
$.statusinteger; {"maximum":599,"minimum":400}Yes—
$.titlestringYesLocalized HTTP status title
$.typestring; {"const":"about:blank"}Yes—
HeaderType and limitsMeaning
Cache-Controlstring; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Languagestring; {"enum":["en","de"]}Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-IDstringServer-generated request identifier. Include this when reporting an error; inbound values are not trusted.

application/json

FieldType and limitsRequiredMeaning
$CheckDraftRunYes—
$.idstring; {"format":"uuid"}Yes—
$.location_idstring; {"format":"uuid"}Yes—
$.statusstring; {"enum":["pending","running","completed","cancelled","expired"]}Yes—
$.pause_reasonstring | null; {"enum":["network_quota","browser_quota",null]}Yes—
$.created_atstring; {"format":"date-time"}Yes—
$.deadline_atstring; {"format":"date-time"}Yes—
$.finished_atstring | null; {"format":"date-time"}Yes—
$.resultCheckResult | nullYes—
$.result (oneOf 1)CheckResultNo—
$.result (oneOf 1).codestring; {"pattern":"^[a-z][a-z0-9_]{0,63}$"}Yes—
$.result (oneOf 1).duration_msnumber; {"maximum":360000,"minimum":0}Yes—
$.result (oneOf 1).metricsobject | nullNo—
$.result (oneOf 1).statusJSON; {"enum":["up","down","unknown"]}Yes—
$.result (oneOf 1).statesobject | nullNo—
$.result (oneOf 1).detailsCheckPublicDiagnosticsNo—
$.result (oneOf 1).details.addressstring; {"maxLength":45}No—
$.result (oneOf 1).details.certificate_sha256string; {"pattern":"^[a-f0-9]{64}$"}No—
$.result (oneOf 1).details.certificate_not_beforestring; {"format":"date-time"}No—
$.result (oneOf 1).details.certificate_not_afterstring; {"format":"date-time"}No—
$.result (oneOf 1).details.response_codestring; {"pattern":"^[A-Z0-9_]{1,32}$"}No—
$.result (oneOf 1).details.answersarray<string; {"maxLength":1024}>; {"maxItems":64}No—
$.result (oneOf 1).details.answers[]string; {"maxLength":1024}Yes—
$.result (oneOf 1).details.certificate_chainarray<object; {"additionalProperties":false}>; {"maxItems":16}No—
$.result (oneOf 1).details.certificate_chain[]object; {"additionalProperties":false}Yes—
$.result (oneOf 1).details.certificate_chain[].sha256string; {"pattern":"^[a-f0-9]{64}$"}Yes—
$.result (oneOf 1).details.certificate_chain[].not_beforestring; {"format":"date-time"}Yes—
$.result (oneOf 1).details.certificate_chain[].not_afterstring; {"format":"date-time"}Yes—
$.result (oneOf 1).details.certificate_chain[].is_cabooleanYes—
$.result (oneOf 1).details.ssh_host_key_sha256string; {"pattern":"^SHA256:[A-Za-z0-9+/]{43}$"}No—
$.result (oneOf 1).details.domainCheckDomainRegistrationNo—
$.result (oneOf 1).details.domain.domainstring; {"maxLength":253}Yes—
$.result (oneOf 1).details.domain.expires_atstring; {"format":"date-time"} | nullYes—
$.result (oneOf 1).details.domain.expires_at (anyOf 1)string; {"format":"date-time"}No—
$.result (oneOf 1).details.domain.expires_at (anyOf 2)nullNo—
$.result (oneOf 1).details.domain.registrarstring; {"maxLength":256} | nullYes—
$.result (oneOf 1).details.domain.registrar (anyOf 1)string; {"maxLength":256}No—
$.result (oneOf 1).details.domain.registrar (anyOf 2)nullNo—
$.result (oneOf 1).details.domain.nameserversarray | null; {"maxItems":32}Yes—
$.result (oneOf 1).details.domain.nameservers[]string; {"maxLength":253}Yes—
$.result (oneOf 1).details.domain.nameservers_knownbooleanYes—
$.result (oneOf 1).details.domain.statusarray | null; {"maxItems":32}Yes—
$.result (oneOf 1).details.domain.status[]string; {"maxLength":128}Yes—
$.result (oneOf 1).details.domain.status_knownbooleanYes—
$.result (oneOf 1).details.domain.sourcestring; {"enum":["rdap","whois"]}Yes—
$.result (oneOf 1).details.domain.observed_atstring; {"format":"date-time"}Yes—
$.result (oneOf 1).details.domain.registry_updated_atstring; {"format":"date-time"} | nullYes—
$.result (oneOf 1).details.domain.registry_updated_at (anyOf 1)string; {"format":"date-time"}No—
$.result (oneOf 1).details.domain.registry_updated_at (anyOf 2)nullNo—
$.result (oneOf 1).details.domain.expiration_conflictbooleanYes—
$.result (oneOf 1).details.retry_atstring; {"format":"date-time"}No—
$.result (oneOf 1).details.certificateTLSSnapshotNo—
$.result (oneOf 1).details.certificate.hoststring; {"maxLength":253}Yes—
$.result (oneOf 1).details.certificate.tls_versionstringYes—
$.result (oneOf 1).details.certificate.chainarray<TLSCertificate>; {"minItems":1,"maxItems":16}Yes—
$.result (oneOf 1).details.certificate.chain[]TLSCertificateYes—
$.result (oneOf 1).details.certificate.chain[].sha256string; {"pattern":"^[a-f0-9]{64}$"}Yes—
$.result (oneOf 1).details.certificate.chain[].common_namestring; {"maxLength":256}Yes—
$.result (oneOf 1).details.certificate.chain[].issuerstring; {"maxLength":256}Yes—
$.result (oneOf 1).details.certificate.chain[].serialstring; {"maxLength":128}Yes—
$.result (oneOf 1).details.certificate.chain[].not_beforestring; {"format":"date-time"}Yes—
$.result (oneOf 1).details.certificate.chain[].not_afterstring; {"format":"date-time"}Yes—
$.result (oneOf 1).details.certificate.chain[].namesarray<string; {"maxLength":253}>; {"maxItems":128}Yes—
$.result (oneOf 1).details.certificate.chain[].names[]string; {"maxLength":253}Yes—
$.result (oneOf 1).details.certificate.chain[].is_cabooleanYes—
$.result (oneOf 1).details.certificate.chain[].sentbooleanYes—
$.result (oneOf 1).details.certificate.chain[].signaturestringYes—
$.result (oneOf 1).details.certificate.chain[].keystringYes—
$.result (oneOf 1).details.certificate.checksarray<object; {"additionalProperties":false}>; {"minItems":7,"maxItems":7}Yes—
$.result (oneOf 1).details.certificate.checks[]object; {"additionalProperties":false}Yes—
$.result (oneOf 1).details.certificate.checks[].keystring; {"enum":["validity","hostname","authority","chain","revocation","tls","strength"]}Yes—
$.result (oneOf 1).details.certificate.checks[].statusstring; {"enum":["passed","failed","unknown"]}Yes—
$.result (oneOf 1).details.certificate.checks[].reasonstring; {"maxLength":64}Yes—
$.result (oneOf 1).details.certificate.revocation_valid_untilstring; {"format":"date-time"}No—
$.result (oneOf 1).details.certificate.truncatedbooleanNo—
$.result (oneOf 1).details.certificate.portinteger; {"minimum":1,"maximum":65535}No—
$.result (oneOf 1).mail_deliveryCheckMailObservationNo—
$.result (oneOf 1).mail_delivery.phasestring; {"enum":["smtp","imap"]}Yes—
$.result (oneOf 1).mail_delivery.acceptedbooleanYes—
$.result (oneOf 1).mail_delivery.uncertainbooleanYes—
$.result (oneOf 1).mail_delivery.receivedbooleanYes—
$.result (oneOf 1).mail_delivery.removedbooleanYes—
$.result (oneOf 1).mail_delivery.cleanup_unavailablebooleanYes—
$.result (oneOf 1).mail_delivery.received_atstring; {"format":"date-time"}No—
$.result (oneOf 1).browserBrowserObservationNo—
$.result (oneOf 1).browser.enginesarray<BrowserEngineResult>; {"maxItems":3,"minItems":1}Yes—
$.result (oneOf 1).browser.engines[]BrowserEngineResultYes—
$.result (oneOf 1).browser.engines[].enginestring; {"enum":["chromium","firefox","webkit"]}Yes—
$.result (oneOf 1).browser.engines[].statusstring; {"enum":["up","down","unknown"]}Yes—
$.result (oneOf 1).browser.engines[].codestring; {"pattern":"^[a-z][a-z0-9_]{0,63}$"}Yes—
$.result (oneOf 1).browser.engines[].duration_msnumber; {"minimum":0,"maximum":120000}Yes—
$.result (oneOf 1).browser.engines[].wall_msnumber; {"minimum":0,"maximum":120000}Yes—
$.result (oneOf 1).browser.engines[].stepsarray<BrowserStepResult>; {"maxItems":128,"minItems":0}Yes—
$.result (oneOf 1).browser.engines[].steps[]BrowserStepResultYes—
$.result (oneOf 1).browser.engines[].steps[].indexinteger; {"minimum":0,"maximum":127}Yes—
$.result (oneOf 1).browser.engines[].steps[].statusstring; {"enum":["up","down","skipped"]}Yes—
$.result (oneOf 1).browser.engines[].steps[].codestring; {"pattern":"^[a-z][a-z0-9_]{0,63}$"}Yes—
$.result (oneOf 1).browser.engines[].steps[].duration_msnumber; {"minimum":0,"maximum":120000}Yes—
$.result (oneOf 1).browser.engines[].steps[].parentinteger; {"minimum":0,"maximum":126}No—
$.result (oneOf 1).browser.engines[].steps[].namestring; {"maxLength":160}No—
$.result (oneOf 1).browser.engines[].steps[].kindstring; {"enum":["test","step","hook"]}No—
$.result (oneOf 1).browser.engines[].steps[].sourceobject; {"additionalProperties":false}No—
$.result (oneOf 1).browser.engines[].metricsobject; {"additionalProperties":false} | nullYes—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1)object; {"additionalProperties":false}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).network_errorsnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).javascript_errorsnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).requestsnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).page_load_msnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).visual_diff_rationumber; {"minimum":0,"maximum":1}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).lcp_msnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).fcp_msnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).tbt_msnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).ttfb_msnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 1).clsnumber; {"minimum":0,"maximum":1000000000.0}No—
$.result (oneOf 1).browser.engines[].metrics (anyOf 2)nullNo—
$.result (oneOf 1).browser.engines[].artifact_codestring; {"enum":["","recording_unavailable"]}No—
$.result (oneOf 1).browser.engines[].runtimestring; {"enum":["journey-2"]}No—
$.result (oneOf 1).browser.engines[].navigationsarray<BrowserNavigation>; {"maxItems":64}No—
$.result (oneOf 1).browser.engines[].navigations[]BrowserNavigationYes—
$.result (oneOf 1).browser.engines[].navigations[].pageinteger; {"minimum":1,"maximum":16}Yes—
$.result (oneOf 1).browser.engines[].navigations[].indexinteger; {"minimum":1,"maximum":64}Yes—
$.result (oneOf 1).browser.engines[].navigations[].started_msnumber; {"minimum":0,"maximum":120000}Yes—
$.result (oneOf 1).browser.engines[].navigations[].completebooleanYes—
$.result (oneOf 1).browser.engines[].navigations[].vitalsobject; {"additionalProperties":false}Yes—
$.result (oneOf 1).httpobjectNo—
$.result (oneOf 1).http.attemptsarray<object>; {"maxItems":1}Yes—
$.result (oneOf 1).http.attempts[]objectYesStatus-only checks finish at the response headers without downloading the body. Text and JSON checks read up to 1 MiB (1,048,576 bytes). A larger response produces response_body_too_large and an unknown content_match; availability remains based on HTTP status only when content_as_down is false. Otherwise, an expected HTTP status with unverifiable content is unknown. An unexpected HTTP status still fails. Response-body read errors use response_body_read_error. Historical response_body diagnoses retain their original meaning. The received HTTP status is preserved in all cases.
$.result (oneOf 1).http.attempts[].body_matchedbooleanNo—
$.result (oneOf 1).http.attempts[].certificate_daysintegerNo—
$.result (oneOf 1).http.attempts[].checked_atstring; {"format":"date-time"}No—
$.result (oneOf 1).http.attempts[].duration_msintegerYesMilliseconds through the response headers for status-only checks, or through the bounded body read for text and JSON checks.
$.result (oneOf 1).http.attempts[].failure_codestring; {"enum":["","dns","target_denied","connection","tls","timeout","response_body","response_body_too_large","response_body_read_error","redirect","http_status","body_mismatch"]}No—
$.result (oneOf 1).http.attempts[].healthybooleanNo—
$.result (oneOf 1).http.attempts[].hopsarray<object>; {"maxItems":4}No—
$.result (oneOf 1).http.attempts[].hops[]objectYes—
$.result (oneOf 1).http.attempts[].hops[].connect_msnumberNo—
$.result (oneOf 1).http.attempts[].hops[].dns_msnumberYes—
$.result (oneOf 1).http.attempts[].hops[].duration_msnumberYes—
$.result (oneOf 1).http.attempts[].hops[].familystring; {"enum":["ipv4","ipv6"]}No—
$.result (oneOf 1).http.attempts[].hops[].statusintegerNo—
$.result (oneOf 1).http.attempts[].hops[].tls_msnumberNo—
$.result (oneOf 1).http.attempts[].hops[].ttfb_msnumberNo—
$.result (oneOf 1).http.attempts[].initial_statusintegerNo—
$.result (oneOf 1).http.attempts[].redirectsintegerYes—
$.result (oneOf 1).http.attempts[].statusintegerYes—
$.result (oneOf 1).http.attempts[].methodstring; {"enum":["GET","HEAD"]}No—
$.result (oneOf 1).http.attempts[].certificateTLSSnapshotNo—
$.result (oneOf 1).http.attempts[].certificate.hoststring; {"maxLength":253}Yes—
$.result (oneOf 1).http.attempts[].certificate.tls_versionstringYes—
$.result (oneOf 1).http.attempts[].certificate.chainarray<TLSCertificate>; {"minItems":1,"maxItems":16}Yes—
$.result (oneOf 1).http.attempts[].certificate.chain[]TLSCertificateYes—
$.result (oneOf 1).http.attempts[].certificate.checksarray<object; {"additionalProperties":false}>; {"minItems":7,"maxItems":7}Yes—
$.result (oneOf 1).http.attempts[].certificate.checks[]object; {"additionalProperties":false}Yes—
$.result (oneOf 1).http.attempts[].certificate.revocation_valid_untilstring; {"format":"date-time"}No—
$.result (oneOf 1).http.attempts[].certificate.truncatedbooleanNo—
$.result (oneOf 1).http.attempts[].certificate.portinteger; {"minimum":1,"maximum":65535}No—
$.result (oneOf 2)nullNo—
$.workspace_idstring; {"format":"uuid"}Yes—
$.typeJSON; {"enum":["http","tcp","udp","dns","tls","ping","service","browser"]}Yes—
$.progressobjectNo—

Retries and asynchronous work

This operation reads or validates without applying a resource mutation. Respect rate limits and credential lifetime.

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.

shell
curl --silent --show-error --output /dev/null --write-out "%{http_code}\n" \
  --request GET \
  --header @"$HOME/.config/metribeacon/headers.txt" \
  "https://metribeacon.com/api/v1/monitors/checks/test-runs/00000000-0000-4000-8000-000000000003?workspace_id=00000000-0000-4000-8000-000000000001"
python
import json
from pathlib import Path
from urllib.request import Request, HTTPRedirectHandler, build_opener
from urllib.error import HTTPError

headers = json.loads((Path.home() / ".config/metribeacon/headers.json").read_text())
request = Request("https://metribeacon.com/api/v1/monitors/checks/test-runs/00000000-0000-4000-8000-000000000003?workspace_id=00000000-0000-4000-8000-000000000001", data=None, headers=headers, method="GET")
class NoRedirect(HTTPRedirectHandler):
    def redirect_request(self, request, fp, code, message, headers, target):
        return None

opener = build_opener(NoRedirect())
try:
    with opener.open(request, timeout=10) as response:
        print(response.status)
except HTTPError as error:
    print(error.code)
    error.close()
javascript
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"));
const response = await fetch("https://metribeacon.com/api/v1/monitors/checks/test-runs/00000000-0000-4000-8000-000000000003?workspace_id=00000000-0000-4000-8000-000000000001", {
  method: "GET", headers, redirect: "manual",
  signal: AbortSignal.timeout(10000),
});
console.log(response.status);
await response.body?.cancel();
go
package main

import (
  "fmt"
  "net/http"
  "time"
  "encoding/json"
  "os"
  "path/filepath"
)

func main() {
  home, err := os.UserHomeDir(); if err != nil { panic("request failed; credentials and response omitted") }
  raw, err := os.ReadFile(filepath.Join(home, ".config/metribeacon/headers.json")); if err != nil { panic("request failed; credentials and response omitted") }
  var headers map[string]string
  if json.Unmarshal(raw, &headers) != nil { panic("invalid local headers") }
  request, err := http.NewRequest("GET", "https://metribeacon.com/api/v1/monitors/checks/test-runs/00000000-0000-4000-8000-000000000003?workspace_id=00000000-0000-4000-8000-000000000001", nil)
  if err != nil { panic("request failed; credentials and response omitted") }
  for name, value := range headers { request.Header.Set(name, value) }
  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; credentials and response omitted") }
  defer response.Body.Close()
  fmt.Println(response.StatusCode)
}
  • HTTP API, OAuth and MCP

    Find the user API endpoints, their permissions, fields, examples and response formats.

  • GET List draft browser recordings

    List completed recordings belonging to your private draft test. Recordings expire with the draft, no later than fifteen minutes after its creation.

  • GET Download draft browser recording

    Download a completed, authorized draft recording before it expires. Videos contain masked frames and no audio.

  • POST API: Preview check settings and consumption

    Validate a check configuration, authorized healthy locations and selectable measurement series before creating or changing a monitor. The preview shows new and retained series, remaining account capacity and estimated checks per minute. It neither creates resources nor reserves quota. Creation checks current permissions and capacity again; measurements per day are an upper bound, not actual usage. A location outage or a disabled type does not produce an invented successful preview.