v1
latestOpenAPI 3.1.02026-07-1320186461.3 KBCreate Test Cases For Dataset
Adds items/test cases to a dataset. If the dataset does not exist, it will be created. Returns the IDs of the created items/test cases.
Returns: List[int]: List of IDs of the created items/test cases.
post/api/parea/v1/testcases
Request body
Example request
{
"name": "Hello World Programs",
"test_cases": [
{
"inputs": {
"framework": "fastapi",
"language": "python"
},
"tags": [
"easy"
],
"target": "a good program here"
}
]
}Response
Successful Response
integer[] required