GET   checks/{checkId}/results?fromUtc={fromUtc}&toUtc={toUtc}&detail_level={detail_level}&fromMillisecondsUtc={fromMillisecondsUtc}&toMillisecondsUtc={toMillisecondsUtc}

Gets check results between two dates.

URL Parameters

NameDescription
checkId

Check identifier. Type: numeric.

fromUtc

Timestamp in UTC format. Example: 2013-08-20T13:32:08.

toUtc

Timestamp in UTC format. Example: 2013-08-20T13:32:08.

detail_level

Result detalization level. Allowed values: 0, 1. Default value: 0.

fromMillisecondsUtc

Timestamp represented as a UNIX Epoch timestamp (millisecs after 1970). Type: numeric. Example: 1376980667000.

toMillisecondsUtc

Timestamp represented as a UNIX Epoch timestamp (millisecs after 1970). Type: numeric. Example: 1376980667000.

Remarks

The default context for the route is the user context. To enable customer context (if it's allowed for the user) use the request query parameter customer_context=1.

Responses

Request example

curl --request GET "https://api-asm1.apica.io/v3/checks/12345/results?detail_level=0&fromMillisecondsUtc=1376980667000&toMillisecondsUtc=1376980667000&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"

Response body model examples and descriptions

When result detalization level is 0

[
  {
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "I",
    "value": 23454,
    "unit": "ms"
  },
  {
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "W",
    "value": 23454,
    "unit": "byte"
  },
  {
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "I",
    "value": 4637,
    "unit": "byte"
  }
]
NameType Description
check_id Integer

The numeric identifier of the check.

timestamp_utc DateTime

Result timestamp.

severity String

Result severity.

value Integer

Result value.

unit String

Result unit of measure.

When result detalization level is 1

[
  {
    "message": "1 step, 1 page, 19 urls, 3990/482261 sent/received bytes",
    "identifier": "16f37737-8da2-48e7-9fcd-7fbfb58b6098",
    "attempts": 1,
    "result_code": 0,
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "W",
    "value": 4637,
    "unit": "ms"
  },
  {
    "message": "1 step, 1 page, 1 url, 142/0 sent/received bytes.",
    "identifier": "f743e4d5-7e9b-4e1f-b220-e6a463793ff7",
    "attempts": 3,
    "result_code": 340,
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "W",
    "value": 23454,
    "unit": "ms"
  },
  {
    "message": "1 step, 1 page, 19 urls, 3990/482261 sent/received bytes",
    "identifier": "77c0b567-c17e-41c0-8751-199f5b81c862",
    "attempts": 2,
    "result_code": 340,
    "check_id": 12345,
    "timestamp_utc": "2024-11-20T13:07:16",
    "severity": "E",
    "value": 4637,
    "unit": "byte"
  }
]
NameType Description
message String

The result message.

identifier Guid

The result identifier.

attempts Integer

The number of attempts.

result_code Integer

The code of result.

check_id Integer

The numeric identifier of the check.

timestamp_utc DateTime

Result timestamp.

severity String

Result severity.

value Integer

Result value.

unit String

Result unit of measure.