List data regions

List the data regions and dedicated clusters available for a new source. Pass an id as a source's data_region when creating it. Returns every region and cluster in one page.

GET https://telemetry.betterstack.com/api/v4/data-regions

Query parameters

team_id
string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "europe",
      "type": "data_region",
      "attributes": {
        "name": "Europe",
        "kind": "region"
      }
    }
  ]
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/logs/api/getting-started/#obtaining-a-logtail-api-token"
}
403

Response attributes

id
string
type
string
name
string
kind
string

Example cURL

List data regions
curl --request GET \
  --url https://telemetry.betterstack.com/api/v4/data-regions \
  --header "Authorization: Bearer $TOKEN"