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

# Page feedback

`GET /sites/{site}/feedback`

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 |
|---|---|---|---|
| `limit` | integer | no |  |

## Example request

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

## Responses

### 200

Readers' answers to "Was this page helpful?", code issues, and feedback from AI tools

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `[].id` | integer | no |  |
| `[].ts` | integer | no |  |
| `[].path` | string | no |  |
| `[].helpful` | boolean | no |  |
| `[].comment` | string | no |  |
| `[].source` | enum | no | `agent`: sent by an AI tool through MCP or the address in the Markdown; written by AI Allowed: `reader`, `agent`. |
| `[].code` | object | no | The code block it is about (code issues only) |
| `[].code.index` | integer | no | Which code block on the page, from 0 |
| `[].code.lang` | string | no |  |
| `[].code.line` | string | no | Its first line |

### Example response (200)

```json
[
  {
    "id": 1,
    "ts": 1,
    "path": "/guides/get-started/quickstart",
    "helpful": true,
    "comment": "Please add installation steps for Windows",
    "source": "reader",
    "code": {
      "index": 1,
      "lang": "bash",
      "line": "npm install -g bitidocs"
    }
  }
]
```
