v1

latestOpenAPI 3.0.12026-07-14453659.5 KB
Language 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

availableboolean
createdAtstring date-time

Date and time that the dataset was created.

idinteger required
languagestring

Dataset language.

namestring required
numOfDuplicatesinteger

Number of duplicate images. This number includes duplicates in the .zip file from which the dataset was created plus the number of duplicate images from subsequent PUT calls to add images to the dataset.

objectstring

Object returned; in this case, dataset.

statusMsgstring
totalExamplesinteger

Total number of examples in the dataset.

totalLabelsinteger

Total number of labels in the dataset.

typestring
updatedAtstring date-time

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
}