Dashboard widgets overview
A widget is one chart on a dashboard. It always belongs to one dashboard and is addressed under it. A widget holds settings: its chart type, axes, config, grid position and filters. The data it displays comes from the chart/ endpoint.
The widget object
Attributes
idstring (uuid)Unique identifier.
dashboard_idstring (uuid)The dashboard the widget is on.
namestringDisplay name, 1 to 255 characters.
chart_typestringThe chart type, for example
BAR_CHART. See Chart types.chart_modelstringThe variant of the chart type, for example
STACKED. The allowed values depend onchart_type.configobjectSettings for the chart type. On axis charts, the four axis fields below are mirrored here.
x_axis_propertystring or nullAxis charts only. See Axis properties.
x_axis_date_groupingstring or nullAxis charts only.
DAY,WEEK,MONTHorYEAR, used when the x axis is a date.y_axis_metricstring or nullAxis charts and
NUMBER. See Axis metrics.group_bystring or nullAxis charts only. A second grouping, with the same values as
x_axis_property.width,heightintegerSize on the dashboard grid. Default
1.x_axis_coord,y_axis_coordintegerPosition on the dashboard grid. Default
0.pql_filtersobjectPQL filter for this widget only, on top of the dashboard's. Applies when
last_used_filterispql_filters.filtersobjectFilter object for this widget only. Applies when
last_used_filterisrich_filters.last_used_filterstringWhich widget filter applies:
pql_filtersorrich_filters. Defaultrich_filters.rich_filtersobjectThe web app's filter-builder state. Stored and returned; charts don't read it.
created_at,updated_atstring (date-time)When the widget was created and last updated.
created_by_id,updated_by_idstring (uuid) or nullWho created and last changed the widget.
{
"id": "0bda418f-3e9a-47bd-8e70-faa04e1f9540",
"dashboard_id": "05186e3b-94a3-49b0-8403-9307d292daea",
"name": "Bar Chart",
"chart_type": "BAR_CHART",
"chart_model": "GROUPED",
"config": {
"group_by": "STATE_GROUPS",
"y_axis_metric": "WORK_ITEM_COUNT",
"x_axis_property": "PRIORITY",
"x_axis_date_grouping": null
},
"x_axis_property": "PRIORITY",
"x_axis_date_grouping": null,
"y_axis_metric": "WORK_ITEM_COUNT",
"group_by": "STATE_GROUPS",
"height": 4,
"width": 6,
"x_axis_coord": 0,
"y_axis_coord": 0,
"filters": {},
"pql_filters": {
"json": {},
"stripped": ""
},
"rich_filters": {},
"last_used_filter": "rich_filters",
"created_at": "2026-11-16T15:21:27.804027Z",
"updated_at": "2026-11-16T15:21:35.255170Z",
"created_by_id": "a5706ff6-df7d-4dac-947a-0a4fe14b6ed8",
"updated_by_id": "a5706ff6-df7d-4dac-947a-0a4fe14b6ed8"
}Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/ | List widgets |
POST | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/ | Create a widget |
GET | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/{pk}/ | Get a widget |
PATCH | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/{pk}/ | Update a widget |
DELETE | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/{pk}/ | Delete a widget |
GET | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/{pk}/chart/ | Get a widget's chart data |
GET | /api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/charts/ | Get every widget's chart data |
Every widget endpoint returns 404 when the dashboard is missing or you can't see it, and when the widget is on a different dashboard.
Access and plans
Widgets follow their dashboard's access rules: anyone who can see the dashboard can read its widgets and chart data, and anyone who can edit the dashboard can change them.
Each chart type can be on or off the workspace's plan. A chart type that's off returns 402 on create, update and chart/, and carries its own 402 entry in charts/. List widget types shows which ones are available.
Saved settings, not query parameters
A chart always uses the widget's saved settings and filters. Query parameters such as filters or x_axis_property on chart/ are ignored. To chart something different, update the widget.
OAuth scopes
workspaces.dashboards.widgets:read for listing, getting and chart data, and workspaces.dashboards.widgets:write for create, update and delete. The broad read and write scopes work too.
Response shaping
Widget reads accept ?fields= for sparse responses. See Sparse fields. Updates are PATCH only; PUT returns 405. Errors follow the shared problem+json contract.

