List dashboards
idnamedescriptionsharing_enabledsharing_tokencreated_atupdated_at
Get one dashboard
layoutwidgets
List templates
API Operator Overview and Web Runtime Operator, which bias toward high-signal latency, error, release, and log-group views instead of raw metric catalog coverage.
Create from template
Execute a dashboard query
duration_ms over the span name):
source values: metrics, logs, traces, errors, vitals, fixes, ai, ingestion. See Dashboards as Code for what each one queries.
Use optional q only with logs and errors queries. It accepts the same fielded search syntax as event search.
Use time_range for relative windows such as 5m, 1h, 24h, or 7d. For an absolute window, include both from and to as ISO 8601 timestamps; those timestamps override the relative time_range during execution while keeping the query shape compatible with saved widgets.
The response includes:
aggregationfromtogranularitydatacache- freshness metadata withstatus,cached_at,expires_at,age_ms,ttl_ms,next_allowed_refresh_at, andrefresh_mode
Cache-Control: no-cache to force a fresh execution without changing the JSON query body.
Capture a dashboard snapshot
Cache-Control: no-cache to force-refresh the widget queries. The response includes cache_summary, and each widget result includes the same cache metadata as dashboard-query.
Inspect a dashboard query
highlights- compact takeaways from the widget datalatest_points- the latest bucket, trimmed to the most relevant groupspeak_points- the highest points in the selected windowtop_groups- total, latest, and peak values per groupnonzero_point_counttotal_points
Apply a dashboard definition
dashboard_id:
422 response with a human-readable error message.
CLI and MCP parity
The same workflows are also exposed through:squasher dashboards ...in the CLIsquasher dashboards snapshot --refreshfor a forced dashboard snapshotsquasher dashboards inspect-queryfor operator-friendly widget breakdowns- the hosted MCP
searchandexecuteCode Mode tools for dashboard list, template, query, inspect, and apply operations
Agent handoff
Use dashboard APIs when an agent needs a repeatable query or a versioned dashboard definition:dashboards.list, dashboards.listTemplates, dashboards.executeQuery, dashboards.inspectQuery, or dashboards.apply.