Docs7 Analytics

Explore analytics records

Changed on

Query the raw records of one dataset (searches, questions, ai-requests, page-views) in a time range, with filters and an optional group, 20 rows per page. Send Accept: text/csv to download up to 10,000 rows as CSV. The range must be inside the plan's history (7 days on Free, 90 on Pro). Any member.

post/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/explore

Request

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

Path parameters

teamspaceIdstring uuid required

Teamspace id.

siteIdstring uuid required

Docs7 site id.

Request body

previewsboolean required

Include branch preview traffic.

Response

Records, or CSV with Accept: text/csv

rowsobject[] required
totalRowsinteger required
totalEventsinteger required
fromstring date-time required
tostring date-time required

Changes