Skip to content

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.

checkId: string

Defined in: check-statuses/check-statuses.ts:9

The id of the check this status belongs to.


optional created_at?: string

Defined in: check-statuses/check-statuses.ts:23

When the status record was created, as an ISO timestamp.


optional hasErrors?: 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: boolean

Defined in: check-statuses/check-statuses.ts:13

The latest run failed.


optional isDegraded?: boolean

Defined in: check-statuses/check-statuses.ts:17

The check is in a degraded state.


optional lastCheckRunId?: string | null

Defined in: check-statuses/check-statuses.ts:19

Null or absent until the check has run.


optional lastRunLocation?: string | null

Defined in: check-statuses/check-statuses.ts:21

The location the latest run was made from.


optional name?: string

Defined in: check-statuses/check-statuses.ts:11

The check’s name.


optional updated_at?: string | null

Defined in: check-statuses/check-statuses.ts:25

When the status last changed, as an ISO timestamp, or null.