---
title: "List Widget Templates"
method: GET
path: "/api/v1/dashboards/widget-templates"
tags: ["dashboards"]
---

# List Widget Templates

`GET /api/v1/dashboards/widget-templates`

Return system + user widget templates as one tagged catalog.

System templates come first (stable registry order), then the tenant's
visible user templates (newest first). ``category_slug`` optionally narrows
both sections to one tab.

## Query parameters

- `category_slug` string, nullable

## Response `200`

Successful Response

- WidgetTemplateCatalogEntry[]
  - `source_kind` 'system' | 'user', required
  - `ref` string, required
  - `title` string, required
  - `description` string
  - `viz_type` 'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap', required
  - `config` object, required
  - `default_size` object, required
  - `category_slug` string, required
  - `data_source` string, required
  - `default_for_category` boolean
  - `is_shared` boolean
  - `created_by_user_id` string, uuid, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/c0f54348e251/schema)
