Create Score

POST
Create a score

Path parameters

run_idintegerRequired
The ID of the run that created the testrecord to be scored.
testrecord_idintegerRequired
The ID of the testrecord to be scored.

Request

This endpoint expects an object.
metric_idintegerRequired
The ID of the metric
int_scoreintegerOptional
Specify integer scores.
binary_scorebooleanOptional
Specify boolean scores.
reasoningstringOptional
The reasoning for the assigned score.

Response

This endpoint returns an object
user_idstringOptional
idintegerOptional
The ID of the grade.
run_idintegerOptional
The ID of the run that created the grade.
testcase_idintegerOptional
The ID of the testcase associated with the grade.
testrecord_idintegerOptional
The ID of the testrecord for which the grade was created.
metric_idintegerOptional
The ID of the metric used to compute the grade.
binary_scorebooleanOptional
The binary score assigned to the grade.
int_scoreintegerOptional
The integer score assigned to the grade.
reasoningstringOptional
The reasoning for the assigned score.
human_evalbooleanOptional
Indicates if a human should assign a grade.
statusenumOptional
Allowed values: pendingerrorcompleted
The status of the grade.
error_messagestringOptional
The error message if the grade was not created successfully.
created_atdatetimeOptional
when the grade was created.
updated_atdatetimeOptional
when the grade was last updated.

Errors