Analytics

Get feedback by page

Changed on

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.

get/v1/analytics/{projectId}/feedback/by-page

Request

  • Base URL
    https://api.mintlify.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Your project ID. Can be copied from the API keys page in your dashboard.

Query parameters

dateFromstring

Date in ISO 8601 or YYYY-MM-DD format

Example:2024-01-01
dateTostring

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.

Example:2024-01-01
limitnumber

Max results per page

source'code_snippet' | 'contextual' | 'agent' | 'thumbs_only'

Filter by feedback source

statusstring

Comma-separated list of statuses to filter by

Response

Per-page feedback aggregates with pagination flag

hasMoreboolean required

Whether additional results are available beyond this page.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    1 more change in this revision