Skip to content

List widget types ​

GET/api/v2/workspaces/{slug}/dashboards/widget-types/

List every chart type a dashboard can hold, the chart_model values each one accepts, and whether the workspace's plan includes it. The list comes from the same registry that widget create and chart reads use, so it always matches what they accept.

The response isn't paginated. The config each chart type needs is in Chart types.

FieldDescription
chart_typeThe value to send as chart_type.
nameDisplay name.
chart_modelsThe chart_model values it accepts. A chart type without variants lists ["BASIC"].
availablefalse when the plan doesn't include it. Creating, updating or charting a widget of this type then returns 402.

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.

Scopes ​

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

Errors ​

StatusCodeCause
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_foundNo such workspace, or it's outside your tenant.
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 widget types
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/dashboards/widget-types/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
{
  "data": [
    {
      "chart_type": "BAR_CHART",
      "name": "Bar Chart",
      "chart_models": ["BASIC", "STACKED", "GROUPED"],
      "available": true
    },
    {
      "chart_type": "LINE_CHART",
      "name": "Line Chart",
      "chart_models": ["BASIC", "MULTI_LINE"],
      "available": true
    },
    {
      "chart_type": "AREA_CHART",
      "name": "Area Chart",
      "chart_models": ["BASIC", "STACKED", "COMPARISON"],
      "available": true
    },
    {
      "chart_type": "WORK_ITEMS_TABLE",
      "name": "Work Items Table",
      "chart_models": ["BASIC"],
      "available": true
    }
  ]
}