---
title: "Duplicate Dashboard"
method: POST
path: "/api/v1/dashboards/{dashboard_id}/duplicate"
tags: ["dashboards"]
---

# Duplicate Dashboard

`POST /api/v1/dashboards/{dashboard_id}/duplicate`

Duplicate a dashboard + its widgets into a new EDITABLE dashboard.

The copy lands in the same section, appended after its siblings. It is never
a built-in (is_category_system_dashboard=False), never a default
(is_category_default / is_default=False), and its widgets are editable
(is_system=False) — Duplicate is the only action offered on a built-in, and
its whole point is an editable copy. Widget provenance (source_*) is kept.

## Path parameters

- `dashboard_id` string, uuid, required

## Response `201`

Successful Response

- DashboardRead
  - `id` string, uuid, required
  - `name` string, required
  - `is_default` boolean, required
  - `kind` string, nullable
  - `category_id` string, uuid, nullable
  - `sort_order` integer
  - `is_category_system_dashboard` boolean
  - `is_category_default` boolean
  - `default_date_range` string, nullable, required
  - `created_by_user_id` string, uuid, nullable, required
  - `widgets` WidgetRead[]
    - `id` string, uuid, required
    - `dashboard_id` string, uuid, required
    - `title` string, required
    - `viz_type` 'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap', required
    - `config` object, required
    - `position` object, required
    - `is_system` boolean
    - `source_kind` 'system' | 'user', nullable
    - `source_ref` string, nullable
    - `source_config_snapshot` object, nullable
    - `source_viz_snapshot` 'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap'
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401` — Authentication required
- `403` — No edit access to the source section
- `404` — Not found
- `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)
