curl --request GET \
--url https://api.example.com/api/v2/projects/{project_id}/prompt-datasets/{dataset_id}/test-cases{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": {},
"output": "<string>",
"output_message": {
"content": [
{
"text": "<string>",
"type": "text"
}
],
"role": "user"
},
"metadata": {},
"media_inputs": {},
"history": [
{
"content": [
{
"text": "<string>",
"type": "text"
}
],
"role": "user"
}
]
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}Retrieve all row-level test cases in a prompt dataset. Use to review dataset contents or export for analysis.
curl --request GET \
--url https://api.example.com/api/v2/projects/{project_id}/prompt-datasets/{dataset_id}/test-cases{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": {},
"output": "<string>",
"output_message": {
"content": [
{
"text": "<string>",
"type": "text"
}
],
"role": "user"
},
"metadata": {},
"media_inputs": {},
"history": [
{
"content": [
{
"text": "<string>",
"type": "text"
}
],
"role": "user"
}
]
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}PromptTestCasesListResponse(data: list[server.api_routes.prompt_datasets_api_v2.PromptTestCaseResponse], pagination: server.api_routes.api_v2_common.PaginationInfo)