List all releases

Lists all releases for your team.

GET https://errors.betterstack.com/api/v1/releases

Query parameters

application_id
integer
version
string
environment
string
from
string
to
string
page
integer
per_page
integer

Headers

Authorization
required string
200

Response 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"
      }
    }
  ],
  "pagination": {
    "first": "https://errors.betterstack.com/api/v1/releases?page=1&per_page=50",
    "last": "https://errors.betterstack.com/api/v1/releases?page=3&per_page=50",
    "prev": null,
    "next": "https://errors.betterstack.com/api/v1/releases?page=2&per_page=50"
  }
}
401

Response body

{
  "errors": "Invalid authentication"
}
422

Response body

{
  "errors": "Sorry, some values are incorrect",
  "invalid_values": {
    "from": "Invalid timestamp, use ISO8601"
  }
}

Example cURL

Example
curl --request GET \
  --url https://errors.betterstack.com/api/v1/releases \
  --header "Authorization: Bearer $TOKEN"


Pagination

This endpoint supports pagination. Default is 50 items per page, with a maximum of 250 items per page. The pagination links are provided in the pagination object within the response body.