---
title: "Get feedback by page"
method: GET
path: "/v1/analytics/{projectId}/feedback/by-page"
tags: ["Analytics"]
language: "en"
---

# Get feedback by page

`GET /v1/analytics/{projectId}/feedback/by-page`

## Request

- Base URL: `https://api.mintlify.com`
- URL: `https://api.mintlify.com/v1/analytics/{projectId}/feedback/by-page`
- Auth: HTTP bearer

Retrieves feedback counts aggregated by documentation page path, including thumbs up and down votes for contextual feedback, code snippet feedback count, and total per page.

Authenticate with an admin API key.

## Path parameters

- `projectId` string, required: Your project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.

## Query parameters

- `dateFrom` string: Date in ISO 8601 or YYYY-MM-DD format
- `dateTo` string: Date in ISO 8601 or YYYY-MM-DD format. `dateTo` is an exclusive upper limit. Results include dates before, but not on, the specified date.
- `limit` number: Max results per page
- `source` 'code_snippet' | 'contextual' | 'agent' | 'thumbs_only': Filter by feedback source
- `status` string: Comma-separated list of statuses to filter by

## Response `200`

Per-page feedback aggregates with pagination flag

- FeedbackGroupedByPageResponse
  - `feedback` object[], required: Feedback counts aggregated by documentation page path.
    - `path` string, required: The documentation page path.
    - `thumbsUp` number, required: Number of positive (thumbs up) contextual feedback entries.
    - `thumbsDown` number, required: Number of negative (thumbs down) contextual feedback entries.
    - `code` number, required: Number of code snippet feedback entries.
    - `total` number, required: Total feedback entries for this page.
  - `hasMore` boolean, required: Whether additional results are available beyond this page.

## Other responses

- `400`: A query parameter is invalid, such as a malformed date or a `limit` outside the allowed range, or the project ID is malformed. The response body describes the error.
- `401`: The API key is missing or invalid, or your plan doesn't include API access.
- `403`: Your request came from an IP address that isn't on your API key's allowlist.
- `404`: The project doesn't exist or doesn't belong to your organization.
- `429`: You exceeded the rate limit for the analytics endpoints.
- `500`: An unexpected server error occurred. Retry the request. If the error continues, contact support.

## Changes

- **2026-10-30** `fe6381d657c3`: 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
- **2026-04-17** `87c68baebbd1`: 2 info
  - added the new enum value `agent` to the `query` request parameter `source`
  - added the new enum value `thumbs_only` to the `query` request parameter `source`
- **2026-04-01** `47cc58cc3893`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/changes/v1/analytics/:projectId/feedback/by-page/get.md)

---

[API](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api.md) - [All operations](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/revisions/6d2c01bf8f5c?raw)
