Get page views
Returns per-path and site-wide content view event counts, split by human and AI traffic.
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. Incrementoffset by limit while hasMore is true.
Filtering
Filter view data by date range usingdateFrom and dateTo parameters.
Rate limits
This endpoint is limited to 100 requests per organization per hour. The limit is shared across all analytics endpoints.Authorizations
The Authorization header expects a Bearer token. Use an admin API key (prefixed with mint_). This is a server-side secret key. Generate one on the API keys page in your dashboard.
Path Parameters
Query Parameters
Date in ISO 8601 or YYYY-MM-DD format
"2024-01-01"
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.
"2024-01-01"
Max results per page (1-250, default 50). Increment offset by limit while hasMore is true to paginate.
1 <= x <= 250Number of rows to skip. Use offset = (page - 1) * limit for page-based access.
x >= 0