Await the completion of a check session
Changed onCall this endpoint to await the completion of a check session. A successful response will be returned once the check session reaches its final state (i.e. when it passes or fails).
If the check session takes a long time to complete, the endpoint will return a timeout error code. You should keep calling the endpoint until you receive a successful response, or a non-timeout related error code. If using curl, its --retry option is suitable.
The successful response of this endpoint is equivalent to the GET /v1/check-sessions/{checkSessionId} endpoint's response for a completed check session.
Request
- Base URLhttps://api.checklyhq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier of the check session.
Query parameters
The maximum time to wait for completion, in seconds.
Response
Returned when the check session has finished running.
Example response
{
"checkSessionId": "8166fa86-c9b4-4162-8541-d380c6c212d8",
"checkSessionLink": "https://app.checklyhq.com/accounts/1397c172-1938-4973-a225-5862298e571a/checks/a4cd4ad9-4815-4a9e-92d2-0a7c562ee69a/check-sessions/8166fa86-c9b4-4162-8541-d380c6c212d8",
"checkId": "a4cd4ad9-4815-4a9e-92d2-0a7c562ee69a",
"checkType": "API",
"name": "Example API Check",
"status": "PASSED",
"startedAt": "2025-08-28T18:23:40.262Z",
"stoppedAt": "2025-08-28T18:28:40.993Z",
"timeElapsed": 300731,
"runLocations": [
"us-east-1",
"eu-central-1"
],
"runSource": "TRIGGER_API",
"results": [
{
"checkResultId": "22be3b52-5ec2-4894-9086-b5b4a8b00a89",
"checkResultLink": "https://app.checklyhq.com/accounts/1397c172-1938-4973-a225-5862298e571a/checks/a4cd4ad9-4815-4a9e-92d2-0a7c562ee69a/check-sessions/8166fa86-c9b4-4162-8541-d380c6c212d8/results/22be3b52-5ec2-4894-9086-b5b4a8b00a89",
"checkId": "a4cd4ad9-4815-4a9e-92d2-0a7c562ee69a",
"checkType": "API",
"name": "Example API Check",
"runLocation": "us-east-1",
"resultType": "FINAL",
"responseTime": 1234,
"startedAt": "2025-08-28T18:23:40.262Z",
"stoppedAt": "2025-08-28T18:23:41.496Z"
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- warning
added the new
GRPCenum value to theresponse property for the response status - warning
added the new
GRPCenum value to the//response property for the response status - warning
added the new
SSLenum value to theresponse property for the response status - warning
added the new
SSLenum value to the//response property for the response status - warning
added the new
TRACEROUTEenum value to theresponse property for the response status - warning
added the new
TRACEROUTEenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning