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": "aa7ba62f-04bb-4923-a59c-850a95f1582d",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "f4237c3c-c6d0-4c47-b1c5-96bfc104e95c",
      "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-04-18T09:45:52.907-07:00",
      "updated_at": "2025-04-18T09:45:52.907-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-04-11": 0,
            "2025-04-12": 0,
            "2025-04-13": 0,
            "2025-04-14": 0,
            "2025-04-15": 0,
            "2025-04-16": 0,
            "2025-04-17": 0,
            "2025-04-18": 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
data
object
required