Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

query_metrics

query_metricsTOOL
Query latency, token usage, error rate and spend for a facet query and group. Available on POST /mcp/observability with a traces:read API key.
Parameters
query?string
Max length: 1024
groupBy?string
Max length: 1024
startTime?string
Max length: 1024
endTime?string
Max length: 1024
Request example
{ "method": "tools/call", "params": { "name": "query_metrics", "arguments": { "query": "string", "groupBy": "string", "startTime": "string", "endTime": "string" } } }