# Get Agent Feedback Stats

`GET /api/evaluations/{agent_id}/feedback/stats`

**Deprecated.**

[DEPRECATED] Use /feedback/summary and /feedback instead.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `agent_id` | path | string | yes | Unique UUID of the target AI Agent. |

## Responses

### 200 — Successful Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `liked` | integer | yes |  |
| `disliked` | integer | yes |  |
| `comments` | object[] | yes |  |
| `comments[].comment` | string | yes |  |
| `comments[].user_name` | string | yes |  |
| `comments[].is_positive` | boolean | yes |  |
| `comments[].assistant_message` | string \| null | no |  |
| `comments[].user_message` | string \| null | no |  |
| `comments[].assistant_attachments` | object[] \| null | no |  |
| `comments[].user_attachments` | object[] \| null | no |  |

```json
{
  "liked": 0,
  "disliked": 0,
  "comments": [
    {
      "comment": "string",
      "user_name": "string",
      "is_positive": true,
      "assistant_message": "string",
      "user_message": "string",
      "assistant_attachments": [
        null
      ],
      "user_attachments": [
        null
      ]
    }
  ]
}
```

### 400 — Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

### 401 — Unauthorized - Missing, invalid, or expired JWT Bearer token.

### 403 — Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

### 404 — Not Found - The requested resource ID was not found.

### 422 — Validation Error

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `detail` | object[] | no |  |
| `detail[].loc` | string | integer[] | yes |  |
| `detail[].msg` | string | yes |  |
| `detail[].type` | string | yes |  |
| `detail[].input` | object | no |  |
| `detail[].ctx` | object | no |  |

```json
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

## Example

```bash
curl -X GET "$PINTER_URL/api/evaluations/agnt_risk_compliance_01/feedback/stats" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
