---
title: "Get All Examples"
method: GET
path: "/v2/vision/datasets/{datasetId}/examples"
tags: ["Vision Examples"]
---

# Get All Examples

`GET /v2/vision/datasets/{datasetId}/examples`

Returns all the examples for the specified dataset. By default, returns examples created by uploading them from a .zip file.

## Path parameters

- `datasetId` string, required

## Query parameters

- `offset` string
- `count` string
- `source` 'all' | 'feedback' | 'upload'

## Response `200`

Success

- ExampleList
  - `data` Example[]
    - `createdAt` string, date-time — Date and time that the example was created.
    - `id` integer, required — ID of the example.
    - `label` Label — Contains information about the label with which the example is associated.
      - `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.
    - `location` string — URL of the image in the dataset. This is a temporary URL that expires in 30 minutes. This URL can be used to display images that were uploaded to a dataset in a UI.
    - `name` string, required — Name of the example.
    - `object` string — Object returned; in this case, example.
  - `object` string

---

[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)
