# Get a single source group

Get a single source group by its ID.

[endpoint]
base_url = "https://telemetry.betterstack.com"
path = "/api/v1/source-groups/{source_group_id}"
method = "GET"

[[path_param]]
name = "id"
description = "The ID of the source group you want to get"
required = true
type = "string"

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

[responses]

[[response]]
status = 200
description = ''' '''
body = '''
{
  "data": {
    "id": "95251342",
    "type": "source_group",
    "attributes": {
      "name": "Backend sources",
      "sort_index": null,
      "created_at": "2025-06-30T17:43:12.192Z",
      "updated_at": "2020-06-30T17:43:12.192Z",
      "team_name": "Test team"
    }
  }
}
'''

[[response]]
status = 404
description = '''Your team doesn't have a source group with this ID'''
body = '''{
    "errors": "Resource with provided ID was not found"
}'''

[/responses]

#### Example cURL 

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