---
title: "POST /{projectId}/classify/iterations/{publishedName}/image"
method: POST
path: "/{projectId}/classify/iterations/{publishedName}/image"
---

# POST /{projectId}/classify/iterations/{publishedName}/image

`POST /{projectId}/classify/iterations/{publishedName}/image`

Classify an image and saves the result.

## Path parameters

- `projectId` string, uuid, required
- `publishedName` string, required

## Query parameters

- `application` string

## Response `200`

OK

- ImagePrediction — Result of an image prediction request.
  - `id` string, uuid — Prediction Id.
  - `project` string, uuid — Project Id.
  - `iteration` string, uuid — Iteration Id.
  - `created` string, date-time — Date this prediction was created.
  - `predictions` Prediction[] — List of predictions.
    - `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.

## Other responses

- `default` — Error response

---

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