---
title: "Queue an image for Items & Characteristics classification"
method: POST
path: "/classify/items-characteristics/image"
tags: ["ITEMS_CHARACTERISTICS"]
---

# Queue an image for Items & Characteristics classification

`POST /classify/items-characteristics/image`

This endpoint queues job that predicts the Items & Characteristics categories of a single image.

The request must contain either file (a multi-part form encoded image file) or url (a string containing a url to a image file)

Example CURL:
```
curl -i -X POST -H "Authorization: Bearer {API_TOKEN}" -H "Content-Type: multipart/form-data"          -F "file=@image.jpg;type=image/jpeg"  https://api.unitary.ai/v1/classify/items-characteristics/image
```

A job ID will be returned in the response.

If `callback_url` is included in the request then results will be POST'd to this URL once the image has been classified.

Alternatively results can be obtained by making a GET request to results endpoint using the job ID.

**Webhooks should be implemented for any use of this endpoint at scale to prevent unnecessary polling of the results endpoint.**

## Response `200`

Successful Response

- JobIDResponse
  - `job_id` string, uuid4, required

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.net/unitary/apis/unitary-content-classification-api.md) · [All operations](https://skmtc.net/unitary/apis/unitary-content-classification-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unitary/unitary-content-classification-api/revisions/5c100d640e2e/schema)
