Skip to main content
GET
Get visitor analytics

Authorizations

Authorization
string
header
required

Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely. Every key can read the management API (/v2/teamspaces/*), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with Write access ticked; other keys get 403 write_access_required.

Path Parameters

teamspaceId
string<uuid>
required

Teamspace id.

siteId
string<uuid>
required

Docs7 site id.

Query Parameters

days
integer
default:7

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.

Required range: 1 <= x <= 90
previews
enum<string>

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

Available options:
1

Response

The report

data
object
required