Docs7 Analytics

Get top AI paths

Changed on

The 5 paths that AI crawlers requested most. Works for GitHub and CLI sites. Any member.

get/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/top-paths

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/top-paths
  • 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.

Response

The report

Changes