Skip to main content

Timeseries queries

Time-bucketed model metrics over a window. Every timeseries query must include interval (or the deprecated intervalInSeconds). Buckets are expressed as <positive integer> <unit> strings like "5 minute", "1 hour", or "1 day". Each example below posts JSON to:
with Authorization: Bearer <your_api_key> and Content-Type: application/json. To keep the snippets short, only the JSON body is shown; the wrapper is identical to the Overview Quick Start.
By default, model metrics include both models and virtual models. The examples below pin the model side with {"fieldName": "virtualModelName", "operator": "IS_NULL", "value": true}. Flip the value to false (and swap groupBy: ["modelName"] for groupBy: ["virtualModel"]) for virtual-model-only series.
Hourly request counts:
Fine-grained traffic with 5-minute buckets:
Hourly counts grouped by model:
Track p99 latency regressions per model:
Track per-team adoption over time:
Restrict to specific models and a latency threshold:
Cost burn-down per model over time:
Group hourly counts by a custom metadata key:
Daily traffic across a 7-day window:
Filters + groupBy + metadata together: