Skip to content

List widgets ​

GET/api/v2/workspaces/{slug}/dashboards/{dashboard_id}/widgets/

A widget is one chart on a dashboard. List the widgets on a dashboard with their settings and grid positions. The rows hold settings only; the data is at Get a widget's chart data.

Path parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

dashboard_id:requiredstring (uuid)

The dashboard the widget is on.

Query parameters ​

chart_type:optionalstring

Only widgets of this chart type, one of the values in Chart types. An unknown value returns 400.

chart_model:optionalstring

Only widgets with this chart model: BASIC, STACKED, GROUPED, MULTI_LINE, COMPARISON or PROGRESS. An unknown value returns 400.

search:optionalstring

Match on name.

order_by:optionalstring

Field to sort by: created_at, id. Prefix it with - for descending order. Default -created_at.

per_page:optionalinteger

Page size. Default 50, max 200.

offset:optionalinteger

Number of rows to skip. Pass the next value from the previous page; null means there are no more.

count:optionalboolean

Set to false to leave out total_count and skip the query behind it.

paginate:optionalstring

Set to cursor for the cursor envelope (next_cursor, has_more), then pass cursor=<next_cursor> for the next page. See Pagination.

One of cursor.

Response shaping ​

fields:optionalstring

Comma-separated list of fields to return. Fields you don't request are left out of each row instead of coming back as null. id is always included. Pass all to get every requestable field. An unknown field name returns 400. See Sparse fields.

Requestable here: chart_model, chart_type, config, created_at, created_by_id, dashboard_id, filters, group_by, height, id, last_used_filter, name, pql_filters, rich_filters, updated_at, updated_by_id, width, x_axis_coord, x_axis_date_grouping, x_axis_property, y_axis_coord, y_axis_metric.

Scopes ​

workspaces.dashboards.widgets:read, or the broad read scope.

Errors ​

StatusCodeCause
400invalid_requestA filter value is invalid, for example chart_type=NOPE.
401unauthorizedMissing or invalid credentials.
402payment_requiredDashboards aren't included in the workspace's plan, or you aren't a member of the workspace.
403forbiddenGuests can't use dashboards, or your token lacks the scope.
404not_foundThe dashboard doesn't exist, or you can't see it.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Wait for the Retry-After header's seconds before retrying.
List widgets
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/dashboards/05186e3b-94a3-49b0-8403-9307d292daea/widgets/?chart_type=BAR_CHART" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
{
  "data": [
    {
      "id": "0bda418f-3e9a-47bd-8e70-faa04e1f9540",
      "dashboard_id": "05186e3b-94a3-49b0-8403-9307d292daea",
      "name": "Bar Chart",
      "chart_type": "BAR_CHART",
      "chart_model": "STACKED",
      "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:27.804038Z",
      "created_by_id": "a5706ff6-df7d-4dac-947a-0a4fe14b6ed8",
      "updated_by_id": null
    }
  ],
  "next": null,
  "previous": null,
  "pagination": {
    "style": "offset"
  },
  "total_count": 1
}