POST
/
sdk
/
v1
/
evaluation-assertions

Body

application/json
type
enum<string>
required
Available options:
EXACT_MATCH
evaluationId
string
required
targetValue
string
required

The value to match.

weight
number
default:
1

How heavily to weigh the assertion within the evaluation.

Required range: 0 < x < 1
jsonPath
string | null
default:
$

A JSON path to use when matching a JSON response.

ignoreCase
boolean
default:
false

Whether to ignore case when comparing strings.

negate
boolean
default:
false

Whether to negate the assertion. "true" means the assertion must NOT be true.

Response

201
application/json
Successful operation
type
enum<string>
required
Available options:
EXACT_MATCH
evaluationId
string
required
targetValue
string
required

The value to match.

id
string
required
weight
number
default:
1

How heavily to weigh the assertion within the evaluation.

Required range: 0 < x < 1
jsonPath
string | null
default:
$

A JSON path to use when matching a JSON response.

ignoreCase
boolean
default:
false

Whether to ignore case when comparing strings.

negate
boolean
default:
false

Whether to negate the assertion. "true" means the assertion must NOT be true.