Home / Servers / PagerDuty API / get_analytics_metrics_users_all

Get aggregated metrics for all users

An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.

Get aggregated metrics for all users Provides aggregated metrics across all users within their account. This endpoint provides summary statistics about user activity and performance. > **Note:** Data availability reflects pipeline… [POST /analytics/metrics/users/all]

Name on the gateway: pagerduty_api__get_analytics_metrics_users_all · may change things.

Parameters

NameTypeDescription
filtersobjectAnalytics User Filter Conditions
time_zonestringThe time zone to use for the results and grouping. Must be in tzdata format.…
orderasc | descThe order in which the results were sorted; asc for ascending, desc for…
order_bystringThe column that was used for ordering the results.
aggregate_unitday | week | monthThe time unit to aggregate metrics by. If no value is provided, the metrics…
limitintegerThe maximum number of results to return per page. The default (and maximum…
starting_afterstringA cursor used for pagination. Starting after cursor provides the next set of…
ending_beforestringA cursor used for pagination. Ending before cursor provides the previous set…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "pagerduty_api__get_analytics_metrics_users_all",
  "arguments": {}
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get aggregated metrics for all users tool with filters set to ….

More from PagerDuty API