Skip to content

ApiCheckRequest

Defined in: checks/checks.ts:41

The request an API check sends.

optional assertions?: Assertion[]

Defined in: checks/checks.ts:47

Assertions on the response; the check passes when all of them hold.


optional body?: string

Defined in: checks/checks.ts:55

Raw request body to send with the check — e.g. simulating a webhook delivery to verify signature checking is wired correctly end-to-end, as opposed to just the endpoint being reachable. Omitted entirely by default, leaving Checkly’s own bodyType at "NONE"; create()/ update() set it to "RAW" whenever a body is given.


method: HttpMethod

Defined in: checks/checks.ts:45

The HTTP method to use.


url: string

Defined in: checks/checks.ts:43

The URL to request.