> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://docs.butterix.com/en/llms.txt
> - v0: https://docs.butterix.com/en/v0/llms.txt

> For the MDX source of any page, append .mdx to the page URL.
> For a complete documentation index, see https://docs.butterix.com/en/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.butterix.com/_mcp/server.
> If something on this page is wrong or missing, POST JSON {"page": "<page URL>", "message": "<what is wrong>"} to https://docs.butterix.com/_biti/feedback/agent.

# Resolution rate

`GET /sites/{site}/questions/summary`

Counts by outcome, the resolution rate, and reader ratings. Questions that are off-topic or incomplete don't count toward the rate.

Base URL: https://api.butterix.com/v1

Authentication: bearer token in Authorization header or API key in cookie `biti_session`

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `site` | string | yes | Site slug or id |

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `days` | integer | no |  |

## Example request

```bash
curl https://api.butterix.com/v1/sites/acme-payments/questions/summary \
     -H "Authorization: Bearer <token>"
```

## Responses

### 200

Summary

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `days` | integer | no |  |
| `counts` | object | no |  |
| `counts.answered` | integer | no |  |
| `counts.partial` | integer | no |  |
| `counts.missing` | integer | no |  |
| `counts.declined` | integer | no |  |
| `counts.stray` | integer | no |  |
| `counts.failed` | integer | no |  |
| `resolutionRate` | number | no | 0–1; `null` when no questions count May be null. |
| `rating` | object | no |  |
| `rating.up` | integer | no |  |
| `rating.down` | integer | no |  |

### Example response (200)

```json
{
  "days": 30,
  "counts": {
    "answered": 180,
    "partial": 20,
    "missing": 25,
    "declined": 12,
    "stray": 1,
    "failed": 3
  },
  "resolutionRate": 0.8,
  "rating": {
    "up": 42,
    "down": 5
  }
}
```
