---
title: "Create Examples From a Zip File"
method: PUT
path: "/v2/vision/datasets/{datasetId}/upload"
tags: ["Vision Examples"]
---

# Create Examples From a Zip File

`PUT /v2/vision/datasets/{datasetId}/upload`

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.

## Path parameters

- `datasetId` string, required

## Response `200`

Upload success

- Dataset
  - `available` boolean
  - `createdAt` string, date-time — Date and time that the dataset was created.
  - `id` integer, required
  - `labelSummary` LabelSummary — Contains the labels array that contains all the labels for the dataset.
    - `labels` Label[]
      - `datasetId` integer, required — ID of the dataset that the label belongs to.
      - `id` integer — ID of the label.
      - `name` string, required — Name of the label.
      - `numExamples` integer — Number of examples that have the label.
  - `language` string — Dataset language.
  - `name` string, required
  - `numOfDuplicates` integer — 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.
  - `object` string — Object returned; in this case, dataset.
  - `statusMsg` string
  - `totalExamples` integer — Total number of examples in the dataset.
  - `totalLabels` integer — Total number of labels in the dataset.
  - `type` string
  - `updatedAt` string, date-time

---

[API](https://skmtc.net/salesforce/apis/einstein.md) · [All operations](https://skmtc.net/salesforce/apis/einstein/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesforce/einstein/versions/9944c7a61f34/schema)
