GET
/
v1
/
dashboard_panels
/
{id}
curl --request GET \
  --url 'https://api.rootly.com/v1/dashboard_panels/%7Bid%7D?range=SOME_STRING_VALUE&period=SOME_STRING_VALUE&time_zone=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": {
    "id": "006db794-37aa-4086-af49-4e86fc23a537",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "eedb49db-761a-4f83-b143-512ccc9f1320",
      "name": "Test panel",
      "params": {
        "display": "line_chart",
        "datasets": [
          {
            "collection": "incidents",
            "filter": [],
            "aggregate": {
              "operation": "count",
              "key": "results",
              "cumulative": false
            }
          }
        ]
      },
      "position": null,
      "created_at": "2025-03-13T11:59:55.750-07:00",
      "updated_at": "2025-03-13T11:59:55.750-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-02-13": 0,
            "2025-02-14": 0,
            "2025-02-15": 0,
            "2025-02-16": 0,
            "2025-02-17": 0,
            "2025-02-18": 0,
            "2025-02-19": 0,
            "2025-02-20": 0,
            "2025-02-21": 0,
            "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
          }
        }
      ]
    }
  }
}

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