curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/datasets/id/{dataset_id}/test-cases \
--header 'Content-Type: application/json' \
--data '
{
"examples": [
{
"inputs": {},
"history": [
{
"content": "<string>",
"role": "user"
}
],
"output": "<string>",
"metadata": {},
"media_inputs": {},
"output_message": {
"content": "<string>",
"role": "user"
}
}
]
}
'{
"message": "<string>"
}curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/datasets/id/{dataset_id}/test-cases \
--header 'Content-Type: application/json' \
--data '
{
"examples": [
{
"inputs": {},
"history": [
{
"content": "<string>",
"role": "user"
}
],
"output": "<string>",
"metadata": {},
"media_inputs": {},
"output_message": {
"content": "<string>",
"role": "user"
}
}
]
}
'{
"message": "<string>"
}