Read dashboards and widgets
widgets list. dashboards get shows a dashboard’s widgets with their IDs. widgets get shows one widget as stored: its title, type, spec, display config, and dashboard.
Read a widget’s data
--range takes 30m, 1h, 3h, 6h, 1d, 7d, 14d, 30d, 60d, or 90d. Give it, or both --start-time and --end-time as ISO 8601 times such as 2026-11-01T00:00:00Z, or neither for the last 24 hours.
The response’s status is ok with rows, skipped for a trace feed or legacy detector widget, or error with a reason. Its window says what the rows cover, because retention can shorten it. A window that ends before your plan’s retention cutoff exits 2.
Create and change dashboards
dashboards update changes the name and description, and the layout can’t be changed here. To clear a description, send { "description": null } with --from-file.
Create and change widgets
A widget’s--type is query for a chart, or trace_feed for a list of recent traces. Its --spec is JSON in the matching form: view, filters, metric, breakdown, and display for query, and filters and limit for trace_feed.
An existing widget of the same type is the best model. Read its stored spec, edit it, and pass it back:
widgets create adds a new widget. On widgets update, a spec replaces the whole spec and must be in the widget’s form, because the type can’t change. To change display_config on an update, send it with --from-file; null resets it.
Delete widgets and dashboards
--reason. Deleting a dashboard deletes its widgets. A project’s last dashboard can’t be deleted, and trying exits 1.