Duplicates a dashboard panel
curl --request POST \
--url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "27895410-64e6-4cce-ab5d-abb284e587e4",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "a0032ff1-af72-4c53-bfde-69165631d163",
"name": "Copy of Test panel",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-12-24T09:24:20.117-08:00",
"updated_at": "2025-12-24T09:24:20.117-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-12-17": 0,
"2025-12-18": 0,
"2025-12-19": 0,
"2025-12-20": 0,
"2025-12-21": 0,
"2025-12-22": 0,
"2025-12-23": 0,
"2025-12-24": 0
}
}
]
}
}
}Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "27895410-64e6-4cce-ab5d-abb284e587e4",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "a0032ff1-af72-4c53-bfde-69165631d163",
"name": "Copy of Test panel",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-12-24T09:24:20.117-08:00",
"updated_at": "2025-12-24T09:24:20.117-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-12-17": 0,
"2025-12-18": 0,
"2025-12-19": 0,
"2025-12-20": 0,
"2025-12-21": 0,
"2025-12-22": 0,
"2025-12-23": 0,
"2025-12-24": 0
}
}
]
}
}
}