Get a single dashboard

Retrieves detailed information for a single dashboard by its ID, including its charts, sections, and variables.

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

URL parameters

id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "1234",
    "type": "dashboard",
    "attributes": {
      "team_id": 123456,
      "team_name": "example-team",
      "name": "Sample Dashboard",
      "dashboard_group_id": 789,
      "refresh_interval": 30,
      "date_range_from": "now-3h",
      "date_range_to": "now",
      "created_at": "2025-01-20T15:00:00.000Z",
      "updated_at": "2025-01-21T10:00:00.000Z",
      "source_eligibility_sql": null,
      "variables": [
        {
          "name": "source",
          "variable_type": "source",
          "values": [
            "123"
          ],
          "default_values": [],
          "structured_value": {
            "canonicalSourceIds": [
              "t123456_my_app:metrics"
            ]
          },
          "allow_multiple_values": false
        },
        {
          "name": "environment",
          "variable_type": "string",
          "values": [
            "production"
          ],
          "default_values": [
            "production"
          ],
          "allow_multiple_values": false
        }
      ],
      "charts": [
        {
          "id": 567,
          "chart_type": "line_chart",
          "name": "CPU Usage",
          "x": 0,
          "y": 0,
          "w": 6,
          "h": 4
        }
      ],
      "sections": [
        {
          "id": 890,
          "name": "Key Metrics",
          "y": 0,
          "collapsed": false
        }
      ],
      "has_overlaps": false
    }
  }
}
401
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}

Response attributes

id
string
type
string
attributes.team_id
integer
attributes.team_name
string
attributes.name
string
attributes.dashboard_group_id
integer or null
attributes.refresh_interval
integer
attributes.date_range_from
string
attributes.date_range_to
string
attributes.created_at
string
attributes.updated_at
string
attributes.source_eligibility_sql
string or null
attributes.variables
array
attributes.variables[].name
string
attributes.variables[].variable_type
string
attributes.variables[].values
array
attributes.variables[].default_values
array
attributes.variables[].sql_definition
string
attributes.variables[].structured_value
object
attributes.variables[].allow_multiple_values
boolean
attributes.charts
array
attributes.charts[].id
integer
attributes.charts[].chart_type
string
attributes.charts[].name
string
attributes.charts[].x
integer
attributes.charts[].y
integer
attributes.charts[].w
integer
attributes.charts[].h
integer
attributes.sections
array
attributes.sections[].id
integer
attributes.sections[].name
string or null
attributes.sections[].y
integer
attributes.sections[].collapsed
boolean
attributes.has_overlaps
boolean

Example cURL

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