# Get a single release

Retrieves a specific release by its ID.

[endpoint]
base_url = "https://errors.betterstack.com"
path = "/api/v1/releases/{id}"
method = "GET"

[[path_param]]
name = "id"
description = "The ID of the release to retrieve."
required = true
type = "string"

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

[responses]
[[response]]
status = 200
description = '''Returns the requested release.'''
body = '''{
  "data": {
    "id": "456",
    "type": "release",
    "attributes": {
      "version": "v1.2.3",
      "application_id": 123,
      "environments": ["production"],
      "first_seen_at": "2026-08-18T09:00:00.000Z",
      "last_seen_at": "2026-08-18T09:00:00.000Z",
      "origin": "reported",
      "created_at": "2026-08-18T09:00:00.000Z",
      "updated_at": "2026-08-18T09:00:00.000Z"
    }
  }
}'''

[[response]]
status = 401
description = '''Unauthorized'''
body = '''{
  "errors": "Invalid authentication"
}'''

[[response]]
status = 404
description = '''Not Found'''
body = '''{
  "errors": "Resource with the provided ID was not found"
}'''
[/responses]

#### Example cURL

```shell
[label Example]
curl --request GET \
  --url https://errors.betterstack.com/api/v1/releases/456 \
  --header "Authorization: Bearer $TOKEN"
```
