List all dashboard sections

Retrieves a list of all sections on a specific dashboard.

GET https://telemetry.betterstack.com/api/v2/dashboards/{dashboard_id}/sections

URL parameters

dashboard_id
required integer

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "890",
      "type": "section",
      "attributes": {
        "name": "Key Metrics",
        "y": 0,
        "collapsed": false
      }
    }
  ]
}
404

Example Request

cURL
curl --request GET \
     --url https://telemetry.betterstack.com/api/v2/dashboards/1234/sections \
     --header "Authorization: Bearer $TOKEN"