---
title: "Get page feedback analytics"
method: GET
path: "/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/feedback"
tags: ["Docs7 Analytics"]
---

# Get page feedback analytics

`GET /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/feedback`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/feedback`
- Auth: HTTP bearer

Page ratings (helpful or not) from readers and agents: totals, pages and every rating with its comment. Works for GitHub and CLI sites. Any member.

## Path parameters

- `teamspaceId` string, uuid, required
- `siteId` string, uuid, required

## Query parameters

- `days` integer
- `previews` '1'

## Response `200`

The report

- object
  - `data` Docs7FeedbackAnalytics, required
    - `days` integer, required
    - `hosts` string[], required: Hostnames the site serves now.
    - `hasPreviews` boolean, required: The site has branch previews.
    - `totals` object, required
      - `helpful` integer
      - `unhelpful` integer
      - `responses` integer
      - `helpfulRate` integer, nullable
      - `agents` integer
    - `pages` object[], required
      - `path` string
      - `helpful` integer
      - `unhelpful` integer
    - `ratings` object[], required: Each rater's latest rating of a page, newest first, at most 1,000.
      - `id` string: Anonymous rater key.
      - `path` string
      - `helpful` boolean
      - `agent` boolean
      - `comment` string: Empty when the rater left none. Agents must send one.
      - `at` string: UTC time of the rating, `YYYY-MM-DD HH:MM:SS.mmm`.

## Other responses

- `400`: Invalid teamspace or site id
- `401`: Missing or invalid bearer
- `403`: Not a member, missing role, or an API key of another teamspace
- `404`: No such site in this teamspace
- `500`: Internal error
- `503`: Analytics is not configured

## Changes

- **2026-11-02** `945f7834fa8c`: 1 breaking, 1 info
  - removed the required property `data/comments` from the response with the `200` status
  - added the required property `data/ratings` to the response with the `200` status
- **2026-10-22** `e17589fd8767`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/sites/:siteId/analytics/feedback/get.md)

---

[API](https://skmtc.dev/context7/apis/context7-public-api.md) - [All operations](https://skmtc.dev/context7/apis/context7-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/context7/apis/context7-public-api/revisions/945f7834fa8c?raw)
