experiments

Create Test Case

Add a test case to an experiment

post/api/experiments/{experiment_id}/cases

Path parameters

experiment_idstring required

Headers

authorizationstring required

Request body

promptstring required
sort_orderinteger nullable
evaluator_typestring nullable
expected_outputstring nullable
evaluation_criteriastring nullable

Response

Successful Response

idstring required
experiment_idstring required
promptstring required
sort_orderinteger required
created_atstring required
updated_atstring required
evaluator_typestring nullable
expected_outputstring nullable
evaluation_criteriastring nullable

Changes

No recorded changes to this endpoint across all 3 revisions of this API.