Create Testset
Create a new Testset
Authorizations
Body
"Example Testset"
A description for the testset.
"A testset to finally confirm if the moon is made of cheese."
Whether or not the testset uses retrieval.
true
Custom schema model with an ordered list of custom variables.
{
"variables": [
{
"data_type": "file_url",
"description": "example file url",
"name": "example_file_url",
"role": "input"
},
{
"data_type": "json_object",
"description": "example json object",
"name": "example_json_object",
"role": "output"
},
{
"data_type": "text",
"description": "example text",
"name": "example_text",
"role": "label"
}
]
}
The ID of the project to create the testset in. Omitting this optional argument will create the testset inside your Organization's default project.
123
The method of ingestion for the testset.
csv
, logging
"csv"
Whether or not the testset is published.
true
Whether or not the testset was created by the playground.
true
Response
The ID of the testset.
1
The creation date and time of the testset.
"2025-02-06T00:05:50.224015"
A human-readable name for the testset. This will be displayed in the UI.
"Example Testset"
A description for the testset.
"A testset to finally confirm if the moon is made of cheese."
Whether or not the testset uses retrieval.
true
The method used to ingest the testset.
"manual"
The number of testcases in the testset.
10
Whether or not the testset is published.
true
The last time the testset was updated.
"2025-02-07T00:05:50.224392"
Whether or not the testset is archived.
true
The ID of the project the testset belongs to.
1
Custom schema model with an ordered list of custom variables.
Whether or not the testset was created by the playground.
true
Was this page helpful?