API Reference
Create Evaluation Assertion
Creates a new evaluation assertion
POST
/
sdk
/
v1
/
evaluation-assertions
Body
application/json
type
enum<string>
requiredAvailable options:
EXACT_MATCH
evaluationId
string
requiredtargetValue
string
requiredThe value to match.
weight
number
default: 1How 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: falseWhether to ignore case when comparing strings.
negate
boolean
default: falseWhether to negate the assertion. "true" means the assertion must NOT be true.
Response
201 - application/json
type
enum<string>
requiredAvailable options:
EXACT_MATCH
evaluationId
string
requiredtargetValue
string
requiredThe value to match.
id
string
requiredweight
number
default: 1How 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: falseWhether to ignore case when comparing strings.
negate
boolean
default: falseWhether to negate the assertion. "true" means the assertion must NOT be true.
Was this page helpful?