Docs7 Analytics

Get search and question analytics

Changed on

What readers search for, what agents ask the docs, and the assistant questions grouped by topic. Works for GitHub and CLI sites. Any member.

get/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/queries

Request

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

Path parameters

teamspaceIdstring uuid required

Teamspace id.

siteIdstring uuid required

Docs7 site id.

Query parameters

daysinteger

Window in days, ending now. Docs7 Free reads at most 7 days, Docs7 Pro at most 90. A larger value is capped; an invalid one reads 7.

previews'1'

1 adds the traffic of branch previews. Without it only the published site counts.

summary'1'

1 returns only the assistant question count and its daily series.

Response

The report

Changes