Logging
Get MCP tool log statistics
Returns statistics for MCP tool logs matching the specified filters.
get/api/mcp-logs/stats
Request
- Base URLhttp://localhost:8080
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tool_namesstring
Comma-separated list of tool names to filter by
server_labelsstring
Comma-separated list of server labels to filter by
status'processing' | 'success' | 'error'
Comma-separated list of statuses to filter by
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
max_latencynumber
Maximum latency filter
content_searchstring
Search in tool arguments and results
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.