v1
latestOpenAPI 3.0.12026-07-14453659.5 KBLanguage Datasets
Create a Dataset From a File Synchronously
Creates a dataset, labels, and examples from the specified .csv, .tsv, or .json file. The call returns after the dataset is created and all of the data is uploaded.
post/v2/language/datasets/upload/sync
Response
Upload success
Example response
{
"id": 1000014,
"labelSummary": {
"labels": [
{
"datasetId": 57,
"id": 621,
"name": "Mountain",
"numExamples": 40
}
]
},
"language": "N/A",
"name": "weather report",
"object": "dataset",
"statusMsg": "SUCCEEDED",
"totalExamples": 20,
"totalLabels": 2
}