curl --request GET \
--url https://api.checklyhq.com/v2/check-results/{checkId} \
--header 'Authorization: Bearer <token>'{
"length": 123,
"entries": [
{
"resultType": "FINAL",
"id": "<string>",
"name": "<string>",
"checkId": "<string>",
"hasFailures": true,
"hasErrors": true,
"isDegraded": true,
"overMaxResponseTime": true,
"runLocation": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"stoppedAt": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"responseTime": 123,
"apiCheckResult": {
"assertions": [
{
"source": "STATUS_CODE",
"target": 200
}
],
"request": {
"method": "GET",
"url": "https://api.checklyhq.com",
"data": "",
"headers": {},
"params": {}
},
"response": {
"status": 200,
"statusText": "OK",
"body": "<title> Checkly Public API </title>",
"headers": {},
"timings": {},
"timingPhases": {}
},
"requestError": "null",
"jobLog": {},
"jobAssets": "null"
},
"browserCheckResult": "null",
"multiStepCheckResult": "null",
"checkRunId": 123,
"attempts": 123,
"sequenceId": "2dbfa2a3-5477-45ea-ac33-ee55b8ea66ff"
}
],
"nextId": "<string>"
}curl --request GET \
--url https://api.checklyhq.com/v2/check-results/{checkId} \
--header 'Authorization: Bearer <token>'{
"length": 123,
"entries": [
{
"resultType": "FINAL",
"id": "<string>",
"name": "<string>",
"checkId": "<string>",
"hasFailures": true,
"hasErrors": true,
"isDegraded": true,
"overMaxResponseTime": true,
"runLocation": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"stoppedAt": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"responseTime": 123,
"apiCheckResult": {
"assertions": [
{
"source": "STATUS_CODE",
"target": 200
}
],
"request": {
"method": "GET",
"url": "https://api.checklyhq.com",
"data": "",
"headers": {},
"params": {}
},
"response": {
"status": 200,
"statusText": "OK",
"body": "<title> Checkly Public API </title>",
"headers": {},
"timings": {},
"timingPhases": {}
},
"requestError": "null",
"jobLog": {},
"jobAssets": "null"
},
"browserCheckResult": "null",
"multiStepCheckResult": "null",
"checkRunId": 123,
"attempts": 123,
"sequenceId": "2dbfa2a3-5477-45ea-ac33-ee55b8ea66ff"
}
],
"nextId": "<string>"
}The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Limit the number of results to fetch (default 10)
1 <= x <= 100Cursor parameter to fetch the next page of results. The "nextId" parameter is returned in the response of the previous request. If a response includes a "nextId" parameter set to "null", there are no more results to fetch.
Select records up from this UNIX timestamp (>= date).
Optional. Select records up to this UNIX timestamp (< date).
Provide a data center location, e.g. "eu-west-1" to filter by location
us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, sa-east-1, eu-west-1, eu-central-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, ap-southeast-1, ap-northeast-1, ap-east-1, ap-southeast-2, ap-southeast-3, ap-northeast-2, ap-northeast-3, ap-south-1, af-south-1 The type of the check
API, BROWSER, HEARTBEAT, MULTI_STEP, TCP, PLAYWRIGHT, URL, DNS Check result has one or more failures
The check result type (FINAL,ATTEMPT,ALL)
FINAL, ATTEMPT, ALL Successful
Show child attributes
The type of result. FINAL means this is the final result of the check run. ATTEMPT means this is a result of a double check attempt.
FINAL, ATTEMPT, ALL "FINAL"
The unique ID of this result.
The name of the check.
The ID of the check.
Describes if any failure has occurred during this check run. This is should be your mainmain focus for assessing API or browser check behaviour. Assertions that fail, timeouts or failing scripts all resolve tothis value being true.
Describes if an internal error has occured in Checkly's backend. This should be false in almost all cases.
A check is degraded if it is over the degradation limit set by the "degradedResponseTime" field on the check. Applies only to API checks.
Set to true if the response time is over the limit set by the "maxResponseTime" field on the check. Applies only to API checks.
What data center location this check result originated from.
Describes the time it took to execute relevant parts of this check. Any setup timeor system time needed to start executing this check in the Checkly backend is not part of this.
The response data for an API check.
Show child attributes
List of API check assertions.
[{ "source": "STATUS_CODE", "target": 200 }]The request for the API.
The API response.
Show child attributes
200
"OK"
"<title> Checkly Public API </title>"
Describes if an error occurred on the request.
null
Check run log results.
Assets generated from the check run.
null
The response data for a browser check.
Show child attributes
The type of framework the check is using.
"PLAYWRIGHT"
The summary of errors in the check run.
List of pages used on the check run.
[
{
"url": "https://www.checklyhq.com/",
"webVitals": {
"CLS": { "score": "GOOD", "value": 0.000146484375 }
}
}
]List of Playwright Test videos.
[
"https://api.checklyhq.com/v1/assets/checkRunData/eu-central-1/00000000-0000-0000-0000-0000000000/00000000-0000-0000-0000-0000000000/1675691025832/visit-page-and-take-screenshot-1675691043856.webm"
]List of errors on the check run.
[]End time of the check run.
1648573423995
Start time of the check run.
1648573423994
Active runtime version.
"2023.09"
Check run log results.
{
"time": 1648573423995,
"msg": "Starting job",
"level": "DEBUG"
}Assets generated from the check run.
null
List of Playwright Test traces.
[
"https://api.checklyhq.com/v1/assets/checkRunData/eu-central-1/00000000-0000-0000-0000-0000000000/00000000-0000-0000-0000-0000000000/1675691025832/visit-page-and-take-screenshot.zip"
]Playwright Test JSON report.
"https://api.checklyhq.com/v1/assets/checkRunData/eu-central-1/00000000-0000-0000-0000-0000000000/00000000-0000-0000-0000-0000000000/1675691025832/report.json"
null
The response data for a multi-step check.
Show child attributes
List of errors on the check run.
[]End time of the check run.
1648573423995
Start time of the check run.
1648573423994
Active runtime version.
"2023.09"
Check run log results.
{
"time": 1648573423995,
"msg": "Starting job",
"level": "DEBUG"
}Assets generated from the check run.
null
List of Playwright Test traces.
[
"https://api.checklyhq.com/v1/assets/checkRunData/eu-central-1/00000000-0000-0000-0000-0000000000/00000000-0000-0000-0000-0000000000/1675691025832/visit-page-and-take-screenshot.zip"
]Playwright Test JSON report.
"https://api.checklyhq.com/v1/assets/checkRunData/eu-central-1/00000000-0000-0000-0000-0000000000/00000000-0000-0000-0000-0000000000/1675691025832/report.json"
null
The id of the specific check run that created this check result.
How often this check was retried. This will be larger than 0 when double checking is enabled.
The sequence ID of the check run. This is used to group check runs with multiple attempts together.
"2dbfa2a3-5477-45ea-ac33-ee55b8ea66ff"
Was this page helpful?