Evaluations
Create Test Case Result
Description
Creates a test case result
Details
This API can be used to create a test case result. To use this API, review the request schema and pass in all fields that are required to create a test case result.
POST
/
v4
/
evaluations
/
{evaluation_id}
/
test-case-results
Authorizations
x-api-key
string
headerrequiredHeaders
x-selected-account-id
string
Path Parameters
evaluation_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
requiredevaluation_dataset_version_num
string
requiredtest_case_id
string
requiredtest_case_evaluation_data
object
requiredresult
object
time_spent_labeling_s
integer
The time spent labeling in seconds.
account_id
string
The ID of the account that owns the given entity.
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.