# List all dashboards

Returns a paginated list of your team's dashboards.

[info]
The list endpoint returns a summarized view of each dashboard. For the full dashboard configuration including `variables`, `charts`, and `sections`, use the [Get a dashboard](https://betterstack.com/docs/logs/api/dashboards/get/) endpoint.
[/info]

[endpoint]
base_url = "https://telemetry.betterstack.com"
path = "/api/v2/dashboards"
method = "GET"

[[query_param]]
name = "page"
description = "Page number for pagination."
required = false
type = "integer"
default = "1"

[[query_param]]
name = "per_page"
description = "Number of items per page (max 250)."
required = false
type = "integer"
default = "50"

[[query_param]]
name = "query"
description = "Search for dashboards by name."
required = false
type = "string"

[[query_param]]
name = "dashboard_group_id"
description = "Filter dashboards by the ID of a dashboard group."
required = false
type = "integer"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = "A paginated list of dashboards."
body = '''
{
  "data": [
    {
      "id": "1234",
      "type": "dashboard",
      "attributes": {
        "team_id": 123456,
        "team_name": "example-team",
        "name": "Sample Dashboard",
        "dashboard_group_id": 789,
        "refresh_interval": 60,
        "date_range_from": "now-3h",
        "date_range_to": "now",
        "created_at": "2025-01-20T15:00:00.000Z",
        "updated_at": "2025-01-20T15:00:00.000Z"
      }
    }
  ],
  "pagination": {
    "first": "https://telemetry.betterstack.com/api/v2/dashboards?page=1&per_page=2",
    "last": "https://telemetry.betterstack.com/api/v2/dashboards?page=16&per_page=2",
    "prev": null,
    "next": "https://telemetry.betterstack.com/api/v2/dashboards?page=2&per_page=2"
  }
}
'''

[[response]]
status = 401
description = "Invalid or missing authentication token."
[/responses]

## Example request

```shell
[label Example]
curl --request GET \
     --url "https://telemetry.betterstack.com/api/v2/dashboards" \
     --header "Authorization: Bearer $TOKEN"
```
