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": "d27c7405-09a0-48be-8051-771c57334975",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "591f0d07-ccca-4785-8444-f26e5fd88f20",
      "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-06-19T02:38:46.026-07:00",
      "updated_at": "2025-06-19T02:38:46.026-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-06-12": 0,
            "2025-06-13": 0,
            "2025-06-14": 0,
            "2025-06-15": 0,
            "2025-06-16": 0,
            "2025-06-17": 0,
            "2025-06-18": 0,
            "2025-06-19": 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.