v1
latestOpenAPI 3.0.12026-07-14453659.5 KBLanguage Datasets
Create a Dataset From a File Asynchronously
Creates a dataset, labels, and examples from the specified .csv, .tsv, or .json file. The call returns immediately and continues to upload data in the background.
post/v2/language/datasets/upload
Response
Upload initiated
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
}