Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
dashboard panel created
Creates a new dashboard panel from provided data
curl --request POST \
--url https://api.rootly.com/v1/dashboards/{dashboard_id}/panels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "dashboard_panels",
"attributes": {
"name": "<string>",
"params": {
"display": "line_chart",
"description": "<string>",
"table_fields": [
"<string>"
],
"legend": {
"groups": "all"
},
"datalabels": {
"enabled": true
},
"datasets": [
{
"name": "<string>",
"collection": "alerts",
"filter": [
{
"operation": "and",
"rules": [
{
"operation": "and",
"condition": "=",
"key": "<string>",
"value": "<string>"
}
]
}
],
"group_by": "<string>",
"aggregate": {
"operation": "count",
"key": "<string>",
"cumulative": true
}
}
]
},
"position": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
}
}
}
}'{
"data": {
"id": "1cc4cb57-686b-4a77-8591-c56e7e58ead0",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "db8e2e2e-f413-4051-918f-dcf55310c2ea",
"name": "test",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-11-05T19:22:35.833-08:00",
"updated_at": "2025-11-05T19:22:35.833-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-10-29": 0,
"2025-10-30": 0,
"2025-10-31": 0,
"2025-11-01": 0,
"2025-11-02": 0,
"2025-11-03": 0,
"2025-11-04": 0,
"2025-11-05": 0
}
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
dashboard panel created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/dashboards/{dashboard_id}/panels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "dashboard_panels",
"attributes": {
"name": "<string>",
"params": {
"display": "line_chart",
"description": "<string>",
"table_fields": [
"<string>"
],
"legend": {
"groups": "all"
},
"datalabels": {
"enabled": true
},
"datasets": [
{
"name": "<string>",
"collection": "alerts",
"filter": [
{
"operation": "and",
"rules": [
{
"operation": "and",
"condition": "=",
"key": "<string>",
"value": "<string>"
}
]
}
],
"group_by": "<string>",
"aggregate": {
"operation": "count",
"key": "<string>",
"cumulative": true
}
}
]
},
"position": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
}
}
}
}'{
"data": {
"id": "1cc4cb57-686b-4a77-8591-c56e7e58ead0",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "db8e2e2e-f413-4051-918f-dcf55310c2ea",
"name": "test",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-11-05T19:22:35.833-08:00",
"updated_at": "2025-11-05T19:22:35.833-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-10-29": 0,
"2025-10-30": 0,
"2025-10-31": 0,
"2025-11-01": 0,
"2025-11-02": 0,
"2025-11-03": 0,
"2025-11-04": 0,
"2025-11-05": 0
}
}
]
}
}
}