Analytics

Website analytics

The website, from whichever is connected: Google Analytics (sessions, users, key events by source/medium, top landing pages), Search Console (clicks, impressions, CTR, position, top queries and pages) and PostHog (visitors, pageviews, top pages, referrers).

GEThttps://traceeai.com/api/v1/analytics/website

CLI:tracee analytics website·MCP:analyticsaction website

Authorizations

  • Authorizationstringheaderrequired

    Bearer <key>: a personal key (tracee login or Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.

Headers

  • Tracee-Workspacestring

    For a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.

    uuid

Query parameters

  • daysintegerdefault: 30

    Window in days, ending today

    1–365

Response

  • 200Done.

    The action's result, exactly as the MCP tool returns it to agents. A next field, when present, names the endpoint that follows up.