GET checks/{checkId}/results?mostrecent={mostrecent}&detail_level={detail_level}
Gets the most recent check results.
URL Parameters
| Name | Description |
|---|---|
| checkId | Check identifier. Type: numeric. |
| mostrecent | Number of most recent results. Type: numeric. |
| detail_level | Result detalization level. Allowed values: 0, 1. Default value: 0. |
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-asm2.apica.io/v3/checks/12345/results?mostrecent=10&detail_level=1&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"
Response body model examples and descriptions
When result detalization level is 0
[
{
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "I",
"value": 4637,
"unit": "byte"
},
{
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "W",
"value": 1234,
"unit": "ms"
},
{
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "F",
"value": 1234,
"unit": "byte"
}
]
When result detalization level is 1
[
{
"message": "1 url, 148/6797 sent/received bytes.",
"identifier": "72838ca9-7b1f-4a44-baf7-0515b3c2e651",
"attempts": 2,
"result_code": 200,
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "F",
"value": 4637,
"unit": "byte"
},
{
"message": "1 step, 1 page, 1 url, 142/0 sent/received bytes.",
"identifier": "dc0fff84-10cd-454b-a03b-46c6281f93cf",
"attempts": 3,
"result_code": 0,
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "F",
"value": 1234,
"unit": "ms"
},
{
"message": "1 step, 1 page, 1 url, 142/0 sent/received bytes.",
"identifier": "85827cf0-7771-4b20-9cd2-fdf5784d5f3d",
"attempts": 1,
"result_code": 0,
"check_id": 12345,
"timestamp_utc": "2025-11-18T15:59:02",
"severity": "F",
"value": 23454,
"unit": "byte"
}
]
| Name | Type | 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. |