> 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.

# Get a docs eval result

`GET /sites/{site}/evals/{id}`

A result with each question.

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 |
| `id` | string | yes |  |

## Example request

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

## Responses

### 200

The result with each question

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | string | no |  |
| `createdAt` | integer | no |  |
| `score` | integer | no | Percent answered correctly |
| `passed` | integer | no |  |
| `total` | integer | no |  |
| `min` | integer | no | Pass mark |
| `ok` | boolean | no |  |
| `model` | string | no |  |
| `judge` | string | no |  |
| `commit` | string | no |  |
| `results` | list of objects | no |  |
| `results[].id` | string | no |  |
| `results[].question` | string | yes |  |
| `results[].pass` | boolean | no |  |
| `results[].met` | list of booleans | no | Whether each point is made |
| `results[].missing` | list of strings | no | Missing points |
| `results[].said` | list of strings | no | What the answer says but must not |
| `results[].unseen` | list of strings | no | Pages search didn't find |
| `results[].sources` | list of strings | no |  |
| `results[].answer` | string | no |  |
| `results[].note` | string | no | A remark from grading |
| `results[].error` | string | no | Why it couldn't be answered or graded |

### Example response (200)

```json
{
  "id": "eval_k2m9",
  "createdAt": 1764115200000,
  "score": 85,
  "passed": 17,
  "total": 20,
  "min": 80,
  "ok": true,
  "model": "deepseek-flash",
  "judge": "deepseek-flash",
  "commit": "0123abcd",
  "results": [
    {
      "id": "refund-time",
      "question": "How long does a refund take?",
      "pass": true,
      "met": [
        true
      ],
      "missing": [
        "string"
      ],
      "said": [
        "string"
      ],
      "unseen": [
        "string"
      ],
      "sources": [
        "/guides/refund"
      ],
      "answer": "Within three business days, to the original payment method.",
      "note": "string",
      "error": "string"
    }
  ]
}
```
