provider mcp_analytics GET /api/environments/{environment_id}/mcp_analytics/sessions/activity_overview/
@utdk/posthog /api/environments/{environment_id}/mcp_analytics/sessions/activity_overview/
environments_mcp_analytics_sessions_activity_overview
Aggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMcpAnalyticsSessionsActivityOverview
GET/api/environments/{environment_id}/mcp_analytics/sessions/activity_overview/
Aggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsMcpAnalyticsSessionsActivityOverview()