POST
/
v1
/
dashboard_panels
/
{id}
/
duplicate
Duplicates a dashboard panel
curl --request POST \
  --url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "24c797eb-7fe5-4393-a79e-90088712e647",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "7a26ee7b-95df-4467-9bee-c9b20c7b8e64",
      "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-08-05T00:29:17.116-07:00",
      "updated_at": "2025-08-05T00:29:17.116-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-07-29": 0,
            "2025-07-30": 0,
            "2025-07-31": 0,
            "2025-08-01": 0,
            "2025-08-02": 0,
            "2025-08-03": 0,
            "2025-08-04": 0,
            "2025-08-05": 0
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

201
application/vnd.api+json

dashboard panel created

The response is of type object.