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": "6d0d4ce0-93e4-4074-ae77-16953d1f3a37",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "60d38e7e-3047-4fa9-afa5-84c56472b155",
      "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-21T11:58:17.621-07:00",
      "updated_at": "2025-06-21T11:58:17.621-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-06-14": 0,
            "2025-06-15": 0,
            "2025-06-16": 0,
            "2025-06-17": 0,
            "2025-06-18": 0,
            "2025-06-19": 0,
            "2025-06-20": 0,
            "2025-06-21": 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.