List all applications

Lists all error tracking applications for your team.

GET https://errors.betterstack.com/api/v2/applications

Query parameters

team_name
string
page
integer
per_page
integer
name
string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "1234",
      "type": "application",
      "attributes": {
        "application_group_id": 5678,
        "correlate_with_source_id": 9876,
        "github_repository_name": "better-stack/my-app",
        "gitlab_repository_name": null,
        "team_id": 123456,
        "team_name": "example-team",
        "name": "my-web-app",
        "platform": "ruby_errors",
        "table_name": "my_web_app",
        "token": "abc123def456ghi789",
        "js_tag_token": "pMq7kR3nXwT9bY2sF6hJ4dLc",
        "ingesting_paused": false,
        "ingesting_host": "s1234.us-east-9.betterstackdata.com",
        "created_at": "2025-01-15T10:30:00.000Z",
        "updated_at": "2025-01-15T10:30:00.000Z",
        "errors_retention": 90,
        "data_region": "us-east-9",
        "custom_bucket": null,
        "code_mapping_stack_root": "/usr/src/app/",
        "code_mapping_source_root": "apps/backend/",
        "vrl_transformation_exceptions": "._pattern = slice!(sha2(to_string!(.summary.type)), 0, 24)\n.",
        "vrl_transformation_replays": "",
        "vrl_transformation_web_events": ".payload.meta.path = parse_url!(.payload.meta.url).path\n.",
        "vrl_transformation_logs": "",
        "vrl_transformation_spans": ""
      }
    }
  ],
  "pagination": {
    "first": "https://errors.betterstack.com/api/v2/applications?page=1&per_page=50",
    "last": "https://errors.betterstack.com/api/v2/applications?page=3&per_page=50",
    "prev": null,
    "next": "https://errors.betterstack.com/api/v2/applications?page=2&per_page=50"
  }
}
401

Response body

{
  "errors": "Invalid authentication"
}

Response attributes

id
string
type
string
attributes.application_group_id
integer or null
attributes.correlate_with_source_id
integer or null
attributes.github_repository_name
string or null
attributes.gitlab_repository_name
string or null
attributes.team_id
integer
attributes.team_name
string
attributes.name
string
attributes.platform
string
attributes.table_name
string
attributes.token
string
attributes.js_tag_token
string or null
attributes.ingesting_paused
boolean
attributes.ingesting_host
string
attributes.created_at
string
attributes.updated_at
string
attributes.errors_retention
integer
attributes.data_region
string
attributes.custom_bucket
object or null
attributes.custom_bucket.name
string
attributes.custom_bucket.endpoint
string
attributes.custom_bucket.access_key_id
string
attributes.custom_bucket.keep_data_after_retention
boolean
attributes.code_mapping_stack_root
string or null
attributes.code_mapping_source_root
string or null
attributes.vrl_transformation_exceptions
string
attributes.vrl_transformation_replays
string
attributes.vrl_transformation_web_events
string
attributes.vrl_transformation_logs
string
attributes.vrl_transformation_spans
string
pagination.first
string
pagination.last
string
pagination.prev
string or null
pagination.next
string or null

Example cURL

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