ApiCheck
Defined in: clients/checkly-client/dist/index.d.mts:200
An API check as Checkly returns it.
Properties
Section titled “Properties”activated
Section titled “activated”activated:
boolean
Defined in: clients/checkly-client/dist/index.d.mts:208
Whether the check runs on its schedule.
checkType
Section titled “checkType”checkType:
"API"
Defined in: clients/checkly-client/dist/index.d.mts:206
The kind of check; always "API" here.
created_at
Section titled “created_at”created_at:
string
Defined in: clients/checkly-client/dist/index.d.mts:220
When the check was created, as an ISO timestamp.
frequency
Section titled “frequency”frequency:
number
Defined in: clients/checkly-client/dist/index.d.mts:210
Minutes between runs.
id:
string
Defined in: clients/checkly-client/dist/index.d.mts:202
Checkly’s id for the check.
locations
Section titled “locations”locations:
string[] |null
Defined in: clients/checkly-client/dist/index.d.mts:212
The regions the check runs from, or null when none are set.
name:
string
Defined in: clients/checkly-client/dist/index.d.mts:204
The check’s display name.
request
Section titled “request”request:
ApiCheckRequest
Defined in: clients/checkly-client/dist/index.d.mts:218
The request the check sends.
shouldFail
Section titled “shouldFail”shouldFail:
boolean
Defined in: clients/checkly-client/dist/index.d.mts:216
Whether a status of 400 or above counts as passing.
tags:
string[]
Defined in: clients/checkly-client/dist/index.d.mts:214
Tags attached to the check.
updated_at
Section titled “updated_at”updated_at:
string|null
Defined in: clients/checkly-client/dist/index.d.mts:222
When the check was last updated, as an ISO timestamp, or null.