# List dashboard templates

Retrieves a list of all available dashboard templates. This endpoint is not paginated and returns all available templates in a single response.

[note]
The `id` returned for each template can be used with the [Export dashboard](https://betterstack.com/docs/logs/api/dashboards/export/) endpoint to retrieve the full JSON configuration for that template.
[/note]

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

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

[responses]
[[response]]
status = 200
description = "A list of public dashboard templates."
body = '''
{
  "data": [
    {
      "id": "456",
      "type": "dashboard_template",
      "attributes": {
        "name": "Blank dashboard",
        "description": "Create a custom dashboard from scratch.",
        "categories": []
      }
    },
    {
      "id": "484486",
      "type": "dashboard_template",
      "attributes": {
        "name": "Better Stack Collector",
        "description": "Monitor services instrumented by the Better Stack collector.",
        "categories": ["infrastructure", "ebpf"]
      }
    }
  ]
}
'''

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


#### Example Request

```shell
[label cURL]
curl -L -H "Authorization: Bearer $TOKEN" \
     "https://telemetry.betterstack.com/api/v2/dashboards/templates"
```
