Analytics

Retrieves per-path and site-wide content view event counts, split by human and AI traffic.

Authenticate with an admin API key.

get/v1/analytics/{projectId}/views

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
limitinteger

Max results per page (1-250, default 50). Increment offset by limit while hasMore is true to paginate.

offsetinteger

Number of rows to skip. Use offset = (page - 1) * limit for page-based access.

Response

Site-wide and per-path content view event counts

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