Skip to main content
POST
Python

Path Parameters

evaluation_dataset_id
string
required

Body

application/json
test_case_data
ArtifactSchemaGeneration · object
required

The data for the test case in a format matching the provided schema_type

approved
boolean
required

Boolean to track whether or not the draft test case is approved

account_id
string
required

The ID of the account that owns the given entity.

schema_type
string
default:GENERATION
Allowed value: "GENERATION"
topic_str
string

Response

Successful Response

evaluation_dataset_id
string
required

The ID of the associated evaluation dataset.

test_case_data
ArtifactSchemaGeneration · object
required

The data for the test case in a format matching the provided schema_type

approved
boolean
required

Boolean to track whether or not the draft test case is approved

content_metadata
Content Metadata · object
required

Metadata for the chunks and artifacts that were used to generate this draft test case.

id
string
required

The unique identifier of the entity.

account_id
string
required

The ID of the account that owns the given 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.

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
schema_type
string
default:GENERATION
Allowed value: "GENERATION"
topic_str
string