CheckStatus
Defined in: check-statuses/check-statuses.ts:7
Where a check stands after its latest run, from GET /v1/check-statuses/{checkId}. A check that has not run yet has
no run id, and Checkly may answer 404 for it, so callers wait for lastCheckRunId before trusting the flags.
Properties
Section titled “Properties”checkId
Section titled “checkId”checkId:
string
Defined in: check-statuses/check-statuses.ts:9
The id of the check this status belongs to.
created_at?
Section titled “created_at?”
optionalcreated_at?:string
Defined in: check-statuses/check-statuses.ts:23
When the status record was created, as an ISO timestamp.
hasErrors?
Section titled “hasErrors?”
optionalhasErrors?:boolean
Defined in: check-statuses/check-statuses.ts:15
The latest run errored (it could not be carried out), as distinct from failing its assertions.
hasFailures
Section titled “hasFailures”hasFailures:
boolean
Defined in: check-statuses/check-statuses.ts:13
The latest run failed.
isDegraded?
Section titled “isDegraded?”
optionalisDegraded?:boolean
Defined in: check-statuses/check-statuses.ts:17
The check is in a degraded state.
lastCheckRunId?
Section titled “lastCheckRunId?”
optionallastCheckRunId?:string|null
Defined in: check-statuses/check-statuses.ts:19
Null or absent until the check has run.
lastRunLocation?
Section titled “lastRunLocation?”
optionallastRunLocation?:string|null
Defined in: check-statuses/check-statuses.ts:21
The location the latest run was made from.
optionalname?:string
Defined in: check-statuses/check-statuses.ts:11
The check’s name.
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string|null
Defined in: check-statuses/check-statuses.ts:25
When the status last changed, as an ISO timestamp, or null.