Update Score

PATCH
Update a score

Path parameters

run_idintegerRequired
The run ID that created the test record to be scored.
testrecord_idintegerRequired
The ID of the testrecord whose score will be updated.
score_idintegerRequired
The ID of the score to be updated.

Request

This endpoint expects an object.
int_scoreintegerOptional
The new integer score to assign.
binary_scorebooleanOptional
The new boolean score to assign.
reasoningstringOptional
The reasoning for the score update.

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