Get a widget
A widget is one chart on a dashboard. Get one widget's settings and grid position. The data it displays is at Get a widget's chart data.
Path parameters
slug:requiredstringThe 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.
pk:requiredstring (uuid)The widget ID. A widget on a different dashboard returns 404.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of the response 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
| Status | Code | Cause |
|---|---|---|
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | Dashboards aren't included in the workspace's plan, or you aren't a member of the workspace. |
403 | forbidden | Guests can't use dashboards, or your token lacks the scope. |
404 | not_found | The dashboard or widget doesn't exist, you can't see the dashboard, or the widget is on a different dashboard. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
429 | rate_limited | Throttled. Wait for the Retry-After header's seconds before retrying. |
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/dashboards/05186e3b-94a3-49b0-8403-9307d292daea/widgets/0bda418f-3e9a-47bd-8e70-faa04e1f9540/" \
-H "X-Api-Key: $PLANE_API_KEY"import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/dashboards/05186e3b-94a3-49b0-8403-9307d292daea/widgets/0bda418f-3e9a-47bd-8e70-faa04e1f9540/",
headers={"X-Api-Key": "your-api-key"},
)
print(response.json())const response = await fetch(
"https://api.plane.so/api/v2/workspaces/my-team/dashboards/05186e3b-94a3-49b0-8403-9307d292daea/widgets/0bda418f-3e9a-47bd-8e70-faa04e1f9540/",
{
method: "GET",
headers: {
"X-Api-Key": "your-api-key",
},
},
);
const data = await response.json();{
"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"
}{
"type": "not_found",
"code": "not_found",
"detail": "The requested resource was not found."
}
