Logging
Get top MCP tools by call count
Returns the top 10 MCP tools by call count, with cost totals.
get/api/mcp-logs/histogram/top-tools
Query parameters
tool_namesstring
Comma-separated list of tool names to filter by
server_labelsstring
Comma-separated list of server labels to filter by
statusstring
Comma-separated list of statuses to filter by (processing, success, error)
virtual_key_idsstring
Comma-separated list of virtual key IDs to filter by
llm_request_idsstring
Comma-separated list of LLM request IDs to filter by
start_timestring date-time
Start time filter (RFC3339 format)
end_timestring date-time
End time filter (RFC3339 format)
min_latencynumber
Minimum latency filter (milliseconds)
max_latencynumber
Maximum latency filter (milliseconds)
content_searchstring
Search in tool arguments and results
Response
MCP top tools retrieved successfully