Files
mintlify__docs/api/analytics/views.mdx
mintlify[bot] 1da0a53f67 Add analytics export API docs for 6 endpoints (#4894)
* Add docs for feedback-by-page and search queries analytics endpoints

Generated-By: mintlify-agent

* Add page views and unique visitors analytics API docs

Generated-By: mintlify-agent

* remove translated files

* remove paginate info

* Apply suggestion from @ethanpalm

* Apply suggestion from @ethanpalm

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-03-31 17:20:20 -07:00

18 lines
623 B
Plaintext

---
title: "Get page views"
description: "Retrieve per-page and site-wide content view counts, split by human and AI traffic."
openapi: /analytics.openapi.json GET /v1/analytics/{projectId}/views
keywords: ["analytics", "views", "page views", "traffic", "export"]
---
## Usage
Use this endpoint to export page view analytics. Results include both site-wide totals and per-page breakdowns, split by human and AI traffic.
Paginate through results using offset-based pagination. Increment `offset` by `limit` while `hasMore` is true.
## Filtering
Filter view data by date range using `dateFrom` and `dateTo` parameters.