For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query a site's analytics events

Runs an aggregation query over a published site's Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site's documentation.

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
siteIdstringRequired

The unique id of the site

Body
rangeone ofRequired
string · enumOptionalPossible values:
or
limitinteger · min: 1 · max: 1000OptionalDefault: 1000
Responses
200

Aggregated events in the site.

application/json
post/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
200

Aggregated events in the site.

Last updated

Was this helpful?

Powered by GitBook