POST
/
v1
/
dashboard_panels
/
{id}
/
duplicate
curl --request POST \
  --url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "f3102858-9f2a-498d-8d44-3fa20270d41b",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "83e60d34-db7a-41d8-b579-ef5db95f2b63",
      "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-05-08T00:17:33.528-07:00",
      "updated_at": "2025-05-08T00:17:33.528-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-05-01": 0,
            "2025-05-02": 0,
            "2025-05-03": 0,
            "2025-05-04": 0,
            "2025-05-05": 0,
            "2025-05-06": 0,
            "2025-05-07": 0,
            "2025-05-08": 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.