JavaScript
API Reference
List Evaluation Assertions
Retrieve all evaluation assertions optionally filtered by evaluation ID
GET
JavaScript
Authorizations
Query Parameters
Optional ID to filter the assertions by specific evaluation ID
Example:
"eval-1234"
Response
Successful operation
- EvaluationAssertionExactMatch
- EvaluationAssertionContainsAll
- EvaluationAssertionContainsAny
- EvaluationAssertionStartsWith
- EvaluationAssertionCost
- EvaluationAssertionLatency
- EvaluationAssertionToolCalled
- EvaluationAssertionToolCalledWith
Available options:
EXACT_MATCH The value to match.
How heavily to weigh the assertion within the evaluation.
Required range:
0 <= x <= 1A JSON path to use when matching a JSON response.
Whether to ignore case when comparing strings.
Whether to negate the assertion. "true" means the assertion must NOT be true.