Get Cost Analytics
portkey__get_cost_analytics | Read | Get time-series LLM spend data for a workspace over a date range, optionally filtered by model, status, or metadata |
Get Request Analytics
portkey__get_request_analytics | Read | Get time-series request volume data for a workspace over a date range to spot traffic spikes and error trends |
Get Token Analytics
portkey__get_token_analytics | Read | Get time-series token consumption data for a workspace over a date range |
Get User Analytics Summary
portkey__get_user_analytics_summary | Read | Get per-user grouped analytics (request counts and cost) for a workspace over a date range |
Get Model Analytics Summary
portkey__get_model_analytics_summary | Read | Get per-model grouped analytics (request counts) for a workspace over a date range - spend and traffic by model |
List Workspaces
portkey__list_workspaces | Read | List the organization’s workspaces with their IDs and slugs - feeds the workspace_slug every analytics tool needs |
List Virtual Keys
portkey__list_virtual_keys | Read | List virtual keys (managed provider credentials) with their status, usage limits, and expiry |
List Log Exports
portkey__list_log_exports | Read | List log export tasks for a workspace (Portkey exposes gateway logs via exports rather than a direct list endpoint) |