Docs7 Analytics
Get search and question analytics
Changed onWhat 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 URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/queries
- AuthHTTP 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
- info
endpoint added
- info