Skip to main content
get/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/queries
Request example
Response
get/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/queries

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.

Path parameters

teamspaceIdstringrequired#
Teamspace id.
siteIdstringrequired#
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.

Default: 7

Range: 1–90

previewsenum<string>#
1 adds the traffic of branch previews. Without it only the published site counts.
Options:1
summaryenum<string>#
1 returns only the assistant question count and its daily series.
Options:1

Responses

application/json
The report
dataobjectrequired#
With summary=1 only days, questions and dailyQuestions; else the other fields.