> 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/review-an-enhancement.md).

# Report an enhancement

We’re striving to improve the quality of enhancements every day but we need to know when the AI has done a good job or a bad job. Using our review endpoint provides us with the data to analyse the image we’ve enhanced.

**Current reporting categories;**

download: Image failed to download

hdr: Images failed to merge properly or be grouped correctly

lens\_correction: Image failed to have lens corrected or incorrectly corrected.

perspective\_correction: Image failed to have perspective corrected or incorrectly corrected.

processing: The image was stuck in processing and never returned.

image\_quality: The image quality is bad.

sky\_replacement: Image failed to have sky replacement, incorrectly replaced sky or the sky replacement was bad.

contrast: Too much contrast or not enough contrast.

colour: The colour is off or not right.

white\_balance: The image is too warm or too cool.

other: You are reporting the image for a reason not currently within our categories.

## Review enhancement

<mark style="color:green;">`POST`</mark> `https://api.autoenhance.ai/v2/image/:image_id/report`

#### Path Parameters

| Name                                        | Type   | Description                                                                 |
| ------------------------------------------- | ------ | --------------------------------------------------------------------------- |
| image\_id<mark style="color:red;">\*</mark> | string | image\_id was provided when you made your post request to /image in step 2. |

#### Request Body

| Name     | Type   | Description                                                                                                                                                                |
| -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| category | array  | <p>An array of items that the image failed at. e.g. sky<em>replacement, lens</em>correction etc.</p><p>\["sky<em>replacement","lens</em>correction"]</p>                   |
| comment  | String | <p>An optional text comment to provide more infomation about why the image failed.</p><p></p><p>e.g. Sky was not replaced in image and the len has not been corrected.</p> |

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

```
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jamiemc.gitbook.io/autoenhance-ai/review-an-enhancement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
