Portkey MCP Server
by r-huijts
get_user_stats
Retrieve detailed analytics data about user activity within a specified time range, including request counts and costs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cost_max | No | Maximum cost in cents to filter by | |
cost_min | No | Minimum cost in cents to filter by | |
page_size | No | Number of results per page (for pagination) | |
status_code | No | Filter by specific HTTP status codes (comma-separated) | |
time_of_generation_max | Yes | End time for the analytics period (ISO8601 format, e.g., '2024-02-01T00:00:00Z') | |
time_of_generation_min | Yes | Start time for the analytics period (ISO8601 format, e.g., '2024-01-01T00:00:00Z') | |
total_units_max | No | Maximum number of total tokens to filter by | |
total_units_min | No | Minimum number of total tokens to filter by | |
virtual_keys | No | Filter by specific virtual key slugs (comma-separated) |