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).
https://traceeai.com/api/v1/analytics/websiteCLI:tracee analytics website·MCP:analyticsaction website
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor 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: 30Window in days, ending today
1–365
Response
- 200Done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.