mcp_analytics

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.

get/api/projects/{project_id}/mcp_analytics/sessions/activity_overview/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/mcp_analytics/sessions/activity_overview/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

filter_test_accountsboolean

Whether to also apply the project's internal and test user filters (its test_account_filters setting) on top of properties.

propertiesstring

Property filters that narrow the underlying $mcp_tool_call events, JSON-encoded. A list of event, person, or session property filters, each with key, value, operator, and type. Example: [{"key": "$mcp_tool_name", "value": ["query_run"], "operator": "exact", "type": "event"}]

Response

Changes

No recorded changes to this operation across all 1 revision of this API.