# Submit feedback about an entity resolution response

`POST /v1/entity-resolution/report`

> Tag: Entity resolution

Help us improve our entity resolution service by providing feedback about the results.

## Request

### Body (application/json)

- `request_id` (string, required) — The request ID from the original API response
- `reason` (string (enum)) — The reason for negative feedback
- `comments` (string) — Additional comments about the feedback

### Example request

```bash
curl --request POST \
  --url 'https://api.savvyiq.ai/v1/entity-resolution/report' \
  --header 'apikey: YOUR_API_KEY' \
  --header 'content-type: application/json' \
  --data '{"request_id":"reqa_e3e81875-6be0-4f11-a4b9-d9564d08391c","reason":"outdated","comments":"The primary address is outdated"}'
```

## Responses

### 200 — Feedback submitted successfully

- `status` (string (enum)) — Status of the feedback submission

```json
{
  "status": "ok"
}
```

### 400 — Bad Request

- `error` (object) — An error object.
  - `message` (string) — The error message
  - `type` (string) — The error code

```json
{
  "error": {
    "message": "Bad request",
    "type": "bad_request"
  }
}
```

### 401 — Unauthorized

- `message` (string) — The error object.
- `request_id` (string) — The request ID for the error.

```json
{
  "message": "No API key found in request",
  "request_id": "d6ed1709fa87777bb373fd60a810e717"
}
```

### 404 — Request ID not found

- `message` (string)
- `code` (string)

```json
{
  "message": "Request id not found",
  "code": "request_id_not_found"
}
```

### 500 — Internal Server Error

- `error` (object) — An error object.
  - `message` (string) — The error message
  - `type` (string) — The error code

```json
{
  "error": {
    "message": "An unexpected error occurred.",
    "type": "api_error"
  }
}
```
