v1

latestOpenAPI 3.0.12026-07-14453659.5 KB
Vision Examples

Create Examples From a Zip File

Adds examples from a .zip file to a dataset. You can use this call only with a dataset that was created from a .zip file.

put/v2/vision/datasets/{datasetId}/upload

Path parameters

datasetIdstring required

Dataset Id

Response

Upload success

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
}