Evaluations
Update Test Case Result
Description
Updates a test case result
Details
This API can be used to update the test case result that matches the ID that was passed in as a path parameter. To use this API, pass in the id
that was returned from your Create Test Case Result API call as a path parameter.
Review the request schema to see the fields that can be updated.
PATCH
/
v4
/
evaluations
/
{evaluation_id}
/
test-case-results
/
{test_case_result_id}
Authorizations
x-api-key
string
headerrequiredPath Parameters
test_case_result_id
string
requiredevaluation_id
string
requiredBody
application/json
audit_status
enum<string>
An enumeration.
Available options:
UNAUDITED
, FIXED
, APPROVED
audit_required
boolean
audit_comment
string
application_spec_id
string
evaluation_dataset_version_num
string
test_case_id
string
test_case_evaluation_data
object
result
object
time_spent_labeling_s
integer
The time spent labeling in seconds.
annotated_by_user_id
string
The user who annotated the task.
Response
200 - application/json
label_status
enum<string>
requiredAn enumeration.
Available options:
PENDING
, COMPLETED
, FAILED
audit_status
enum<string>
An enumeration.
Available options:
UNAUDITED
, FIXED
, APPROVED
audit_required
boolean
audit_comment
string
application_spec_id
string
requiredevaluation_id
string
requiredevaluation_dataset_id
string
requiredevaluation_dataset_version_num
string
requiredtest_case_id
string
requiredtest_case_evaluation_data
object
requiredtest_case_evaluation_data_schema
enum<string>
default: GENERATIONAvailable options:
GENERATION
result
object
completed_at
string
time_spent_labeling_s
integer
The time spent labeling in seconds.
application_test_case_output_id
string
id
string
requiredThe unique identifier of the entity.
created_at
string
requiredThe date and time when the entity was created in ISO format.
account_id
string
requiredThe ID of the account that owns the given entity.
created_by_user_id
string
requiredThe user who originally created the entity.
annotated_by_user_id
string
The user who annotated the task.
archived_at
string
The date and time when the entity was archived in ISO format.