# Get Agent Feedback Summary

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

Aggregate counts plus a 30-day satisfaction trend.

## 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 |  |
| `total` | integer | yes |  |
| `with_comment` | integer | yes |  |
| `satisfaction_rate` | integer | yes |  |
| `trend` | object[] | no |  |
| `trend[].date` | string | yes |  |
| `trend[].liked` | integer | yes |  |
| `trend[].disliked` | integer | yes |  |
| `delta_pt` | integer \| null | no |  |

```json
{
  "liked": 0,
  "disliked": 0,
  "total": 0,
  "with_comment": 0,
  "satisfaction_rate": 0,
  "trend": [
    {
      "date": "string",
      "liked": 0,
      "disliked": 0
    }
  ],
  "delta_pt": 0
}
```

### 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/summary" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
