Assertion
Defined in: clients/checkly-client/dist/index.d.mts:142
One check on an API response: read source, compare it with target.
Properties
Section titled “Properties”comparison
Section titled “comparison”comparison:
AssertionComparison
Defined in: clients/checkly-client/dist/index.d.mts:146
How to compare the value with target.
property?
Section titled “property?”
optionalproperty?:string
Defined in: clients/checkly-client/dist/index.d.mts:148
JSON path / header name the assertion reads — required for JSON_BODY and HEADERS.
regex?
Section titled “regex?”
optionalregex?:string
Defined in: clients/checkly-client/dist/index.d.mts:152
A regular expression Checkly applies to the value before comparing.
source
Section titled “source”source:
AssertionSource
Defined in: clients/checkly-client/dist/index.d.mts:144
What part of the response to read.
target?
Section titled “target?”
optionaltarget?:string
Defined in: clients/checkly-client/dist/index.d.mts:150
The value to compare against.