> For the complete documentation index, see [llms.txt](https://jamiemc.gitbook.io/autoenhance-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jamiemc.gitbook.io/autoenhance-ai/checking-an-image-order-has-been-enhanced.md).

# Checking an image/order has been enhanced

As our system enhances images concurrently you will need to check the

Once your image has been uploaded to our service, you can check the status of the image by calling;

## Check the status of a single image

<mark style="color:blue;">`GET`</mark> `https://api.autoenhance.ai/v2/image/:image_id`

#### Path Parameters

| Name      | Type   | Description                                                                |
| --------- | ------ | -------------------------------------------------------------------------- |
| image\_id | string | image\_id was provided when you made your post request to /image in step 2 |

{% tabs %}
{% tab title="200 " %}

```
{
  "image_id": uuid,
  "order_id": uuid,
  "image_name": string,
  "enhance_type": string,
  "image_type": string,
  "status": string,
  "sky_replacement": boolean,
  "vertical_correction": boolean,
  "room_type": string
}
```

{% endtab %}
{% endtabs %}

If your image is being processed, the image **status** will be **"processing"**. When an image has completed processing, the **status** will be **"processed"**.

If you want to check a group of photos that all have the same order\_id, you can call;

## Check the status of a group of images (order)

<mark style="color:blue;">`GET`</mark> `https://api.autoenhance.ai/v2/order/:order_id`

#### Path Parameters

| Name      | Type   | Description                                                     |
| --------- | ------ | --------------------------------------------------------------- |
| order\_id | string | order\_id is defined when the image was uploaded to POST /image |

{% tabs %}
{% tab title="200 " %}

```
{
  "order_id": uuid,
  "is_processing": boolean,
  "images": [
    {
      "image_id": uuid,
      "order_id": uuid,
      "image_name": string,
      "enhance_type": string,
      "image_type": string,
      "status": string,
      "sky_replacement": boolean,
      "vertical_correction": boolean,
      "room_type": string
    }
  ]
}
```

{% endtab %}
{% endtabs %}

You can check individual images **status** or check the **status** of the whole order. If the order is processing, **is\_processing** will be **true**. If it is complete, **is\_processing** will be **false**.
