---
title: "Get image with its prediction for a given project iteration."
method: GET
path: "/projects/{projectId}/iterations/{iterationId}/performance/images"
tags: ["ProjectApi"]
---

# Get image with its prediction for a given project iteration.

`GET /projects/{projectId}/iterations/{iterationId}/performance/images`

This API supports batching and range selection. By default it will only return first 50 images matching images.
Use the {take} and {skip} parameters to control how many images to return in a given batch.
The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and
"Cat" tags, then only images tagged with Dog and/or Cat will be returned

## Path parameters

- `projectId` string, uuid, required
- `iterationId` string, uuid, required

## Query parameters

- `tagIds` string[]
- `orderBy` 'Newest' | 'Oldest'
- `take` integer
- `skip` integer

## Response `200`

OK

- ImagePerformance[]
  - `predictions` Prediction[], nullable
    - `probability` number, float — Probability of the tag.
    - `tagId` string, uuid — Id of the predicted tag.
    - `tagName` string, nullable — Name of the predicted tag.
    - `boundingBox` BoundingBox — Bounding box that defines a region of an image.
      - `left` number, float, required — Coordinate of the left boundary.
      - `top` number, float, required — Coordinate of the top boundary.
      - `width` number, float, required — Width.
      - `height` number, float, required — Height.
    - `tagType` 'Regular' | 'Negative' | 'GeneralProduct', nullable — Type of the predicted tag.
  - `id` string, uuid — Id of the image.
  - `created` string, date-time — Date the image was created.
  - `width` integer — Width of the image.
  - `height` integer — Height of the image.
  - `imageUri` string — The URI to the image used for training. If VNET feature is enabled this will be a relative path to be used with GetArtifact, otherwise this will be an absolute URI to the resource.
  - `thumbnailUri` string — The URI to the thumbnail of the original image. If VNET feature is enabled this will be a relative path to be used with GetArtifact, otherwise this will be an absolute URI to the resource.
  - `tags` ImageTag[], nullable — Tags associated with this image.
    - `tagId` string, uuid
    - `tagName` string
    - `created` string, date-time
  - `regions` ImageRegion[], nullable — Regions associated with this image.
    - `regionId` string, uuid
    - `tagName` string
    - `created` string, date-time
    - `tagId` string, uuid, required — Id of the tag associated with this region.
    - `left` number, float, required — Coordinate of the left boundary.
    - `top` number, float, required — Coordinate of the top boundary.
    - `width` number, float, required — Width.
    - `height` number, float, required — Height.

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/azure/apis/cognitiveservices-customvision-training.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-customvision-training/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-customvision-training/revisions/82dfb72c78fa/schema)
