v1
latestOpenAPI 3.1.02026-07-1320186461.3 KBCreate Collection
Creates a dataset
post/api/parea/v1/collection
Request body
Example request
{
"column_names": [
"language",
"framework"
],
"name": "Hello World Programs",
"test_cases": [
{
"inputs": {
"framework": "fastapi",
"language": "python"
},
"tags": [
"easy"
],
"target": "a good program here"
}
]
}Response
Successful Response
Example response
{
"id": 5000,
"last_updated_at": "2021-06-01T00:00:00Z",
"test_case_ids": [
12345
]
}