Dashboard Widget
Dashboard widget attributes. A widget is a chart component bound to a report query; widget_type selects the chart rendering and configuration carries per-chart options. See the create endpoint's x-mint block for the per-type configuration keys.
Unique widget code
30Display name
50Chart rendering type. grid renders as a tabular data view rather than a chart.
area, bar, funnel, gauge, graph, grid, heatmap, line, pictorial_bar, pie, radar, sankey, scatter, single, sunburst, tree, treemap Chart rendering options. Shape varies by widget_type — common keys: metric, color_palette, show_legend, legend_position, limit. See the create endpoint's x-mint reference for per-type keys.
{
"metric": "total_records",
"color_palette": "default",
"show_legend": true,
"legend_position": "bottom",
"horizontal": false,
"log_scale": false,
"limit": 10
}Default filter values applied to the linked report query when the widget renders, e.g. { "warehouse_id": 1 }
{ "warehouse_id": 1 }Optional widget description
255Linked report query that supplies the data. Optional — a widget may be standalone.

