Evaluations
Batch Create Test Case Results
Description
Creates a batch of test case results
Details
This API can be used to create multiple test case results so users do not have to the incur the cost of repeated network calls. To use this API, pass in a list of test case results in the request body.
POST
/
v4
/
evaluations
/
{evaluation_id}
/
test-case-results
/
batch
Authorizations
x-api-key
string
headerrequiredHeaders
x-selected-account-id
string
Path Parameters
evaluation_id
string
requiredBody
application/json · object[]
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.