Skip to main content
GET
Python

Path Parameters

evaluation_id
string
required
test_case_result_id
string
required

Query Parameters

view
enum<string>[] | null
Available options:
AnnotationResults,
AuditTasks,
CustomMetrics,
Metrics,
Task,
TestCaseVersion,
Trace

Response

Successful Response

label_status
enum<string>
required

The status of the test case result. This should not be explictly set when creating a test case result. When patching a test case result, this field can be set to 'PENDING' to prevent the test case result from being marked 'COMPLETED'.

Available options:
PENDING,
COMPLETED,
FAILED
application_spec_id
string
required
evaluation_id
string
required
evaluation_dataset_id
string
required
evaluation_dataset_version_num
string
required
test_case_id
string
required
test_case_evaluation_data
ResultSchemaGeneration · object
required
id
string
required

The unique identifier of the entity.

created_at
string<date-time>
required

The date and time when the entity was created in ISO format.

updated_at
string<date-time>
required

The date and time when the entity was last updated in ISO format.

account_id
string
required

The ID of the account that owns the given entity.

created_by_user_id
string
required

The user who originally created the entity.

created_by_identity_type
enum<string>
required

The type of identity that created the entity.

Available options:
user,
service_account
application_test_case_output
ApplicationTestCaseOutputWithTraces · object
test_case_version
GenerationTestCaseVersionResponse · object
task
TaskWithAssignee · object
metrics
Metrics · object
custom_metrics
MetricValueEntity · object[]
audit_tasks
TaskWithAssignee · object[]
annotation_results
AnnotationResultExpanded · object[]
audit_status
enum<string>
Available options:
UNAUDITED,
FIXED,
APPROVED
audit_required
boolean
audit_comment
string
test_case_evaluation_data_schema
string
default:GENERATION
Allowed value: "GENERATION"
result
Result · object

The result of the test case evaluation, in JSON form where the key is the question ID and the value is the result.

completed_at
string<date-time>
time_spent_labeling_s
integer

The time spent labeling in seconds.

application_test_case_output_id
string
invalidated_at
string<date-time>

The date and time when the entity was overwritten or deleted in ISO format.

annotated_by_user_id
string

The user who annotated the task.

annotated_by_identity_type
enum<string>

The type of identity that annotated the entity.

Available options:
user,
service_account
edited_by_user_id
string

The user who edited the task.

edited_by_identity_type
enum<string>

The type of identity that edited the entity.

Available options:
user,
service_account
archived_at
string<date-time>

The date and time when the entity was archived in ISO format.

edited_by
UserV2Details · object