GET
/
v1
/
dashboard_panels
/
{id}
curl --request GET \
  --url https://api.rootly.com/v1/dashboard_panels/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "fac531c2-c30c-4d2b-97bf-38689abd23cb",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "90b988da-4f91-468b-805a-30bcc5eeb9b6",
      "name": "Test panel",
      "params": {
        "display": "line_chart",
        "datasets": [
          {
            "collection": "incidents",
            "filter": [],
            "aggregate": {
              "operation": "count",
              "key": "results",
              "cumulative": false
            }
          }
        ]
      },
      "position": null,
      "created_at": "2025-03-22T22:58:59.117-07:00",
      "updated_at": "2025-03-22T22:58:59.117-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-02-22": 0,
            "2025-02-23": 0,
            "2025-02-24": 0,
            "2025-02-25": 0,
            "2025-02-26": 0,
            "2025-02-27": 0,
            "2025-02-28": 0,
            "2025-03-01": 0,
            "2025-03-02": 0,
            "2025-03-03": 0,
            "2025-03-04": 0,
            "2025-03-05": 0,
            "2025-03-06": 0,
            "2025-03-07": 0,
            "2025-03-08": 0,
            "2025-03-09": 0,
            "2025-03-10": 0,
            "2025-03-11": 0,
            "2025-03-12": 0,
            "2025-03-13": 0,
            "2025-03-14": 0,
            "2025-03-15": 0,
            "2025-03-16": 0,
            "2025-03-17": 0,
            "2025-03-18": 0,
            "2025-03-19": 0,
            "2025-03-20": 0,
            "2025-03-21": 0,
            "2025-03-22": 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

Query Parameters

range
string

Date range for panel data, ISO8601 timestamps separated by the word 'to'. Ex: '2022-06-19T11:28:46.029Z to 2022-07-18T21:58:46.029Z'.

period
string

The time period to group data by. Accepts 'day', 'week', and 'month'

time_zone
string

The time zone to use for period

Response

200 - application/vnd.api+json
dashboard panel found
data
object
required