Workspace Metrics Overview
workspace_metrics_overviewAggregated health of a whole workspace over a time window: the numbers behind the dashboard's overview: volume (traces/spans/LLM calls), cost, tokens, latency percentiles, TTFT, error rates, each with its previous-window baseline and delta, plus ranked breakdowns (per model, top agents, calls by kind, top exceptions, slowest spans).
Use this to answer "how is my workspace doing" before drilling into individual traces with list_agent_traces / get_agent_trace.
workspace: optional workspace id, name, or org-name/workspace-name when
the same name occurs in two of your orgs (defaults to your default;
use list_workspaces to discover them).
hours: lookback window in hours (default 24). Bucket grain is server-decided from
the window length: ≤2h → minute, ≤48h → hour, else day. minute and hour
buckets are window-relative (bucket k starts at from + k×step); day
buckets are UTC calendar days, so the first and last cover only the part of
their day inside the window and a low value there is that clip, not a drop.
The rendered series states which of its edges are clipped.
minutes: lookback in minutes instead of hours, for short "last 10 minutes" windows
(ignored when 0).
breakdowns: include the ranked per-model / per-agent / per-kind tables (default true).
series: include the per-bucket sparkline values (default false; they are verbose).
Values are milliseconds for latency/TTFT; — means not measured (null), which is
never the same as a measured 0. Metrics listed as degraded failed to compute and
are absent rather than zero.
Example:
How is my workspace doing today?
{ "name": "workspace_metrics_overview", "arguments": {} }Anything wrong in the last 10 minutes?
{ "name": "workspace_metrics_overview", "arguments": { "minutes": 10 } }Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| series | No | ||
| minutes | No | ||
| workspace | No | ||
| breakdowns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |