Use case: Copy a Dashboard
This use case demonstrates how to duplicate an existing dashboard by retrieving its configuration and posting it as a new dashboard.Steps
1. (Optional) List available dashboards If you don’t already have thedashboard_id
of the source dashboard, use this endpoint to list existing dashboards.
GET /dashboards/catalog
Sample response
/dashboards/{dashboard_id}
Use the ID from the previous step to fetch the full dashboard definition.
Example
GET/dashboards/qw5k07W8SYBxp6h1m1EN9
3. Copy the dashboard
Take the response from the previous step and remove the following fields:
id
createTime
-updateTime
/dashboards
Sample request body
Summary
Action | Endpoint | Notes |
---|---|---|
List dashboards | GET /dashboards/catalog | Optional: use to select the source dashboard |
Get dashboard by ID | GET /dashboards/{dashboard_id} | Fetch full config of dashboard |
Create new dashboard | POST /dashboards | Submit updated body to create a copy |