List all applications

Lists all error tracking applications for your team.

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

Query parameters

team_name
string
sort
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": "t123456",
        "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,
        "web_events_retention": 30,
        "replays_retention": 30,
        "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": "",
        "spike_protection_baseline_multiplier": null,
        "ai_prompt_template": "Fix this {{type}} in {{file}}: {{message}}\n\n{{stack_trace}}",
        "js_tag_configuration": {
          "collect": {
            "errors": true,
            "web_vitals": true,
            "console": true,
            "memory": false,
            "analytics": true,
            "anonymous_events": false,
            "replays": true,
            "identified_events": false,
            "fingerprint": false
          },
          "sampling": {
            "errors": 100,
            "replays": 100,
            "web_events": 100
          },
          "exclude_selectors": [
            "input",
            "textarea",
            "select"
          ],
          "mask_selectors": [
            ".customer-name"
          ],
          "shared_session_domains": [],
          "accept_incoming_sessions": true,
          "decorate_forms": false,
          "custom_config": null,
          "session_timeout_minutes": 30,
          "events_batch_interval_seconds": 2,
          "own_domain": "t.example.com"
        },
        "js_tag_own_domain_status": "valid"
      }
    }
  ],
  "pagination": {
    "first": "https://errors.betterstack.com/api/v3/applications?page=1&per_page=50",
    "last": "https://errors.betterstack.com/api/v3/applications?page=3&per_page=50",
    "prev": null,
    "next": "https://errors.betterstack.com/api/v3/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
string
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.web_events_retention
integer
attributes.replays_retention
integer or null
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
attributes.spike_protection_baseline_multiplier
integer or null
attributes.ai_prompt_template
string
attributes.js_tag_configuration
object or null
attributes.js_tag_configuration.collect
object
attributes.js_tag_configuration.collect.errors
boolean
attributes.js_tag_configuration.collect.web_vitals
boolean
attributes.js_tag_configuration.collect.console
boolean
attributes.js_tag_configuration.collect.memory
boolean
attributes.js_tag_configuration.collect.analytics
boolean
attributes.js_tag_configuration.collect.anonymous_events
boolean
attributes.js_tag_configuration.collect.replays
boolean
attributes.js_tag_configuration.collect.identified_events
boolean
attributes.js_tag_configuration.collect.fingerprint
boolean
attributes.js_tag_configuration.sampling
object
attributes.js_tag_configuration.sampling.errors
integer
attributes.js_tag_configuration.sampling.replays
integer
attributes.js_tag_configuration.sampling.web_events
integer
attributes.js_tag_configuration.exclude_selectors
array of strings
attributes.js_tag_configuration.mask_selectors
array of strings
attributes.js_tag_configuration.shared_session_domains
array of strings
attributes.js_tag_configuration.accept_incoming_sessions
boolean
attributes.js_tag_configuration.decorate_forms
boolean
attributes.js_tag_configuration.custom_config
string or null
attributes.js_tag_configuration.session_timeout_minutes
integer
attributes.js_tag_configuration.events_batch_interval_seconds
integer
attributes.js_tag_configuration.own_domain
string or null
attributes.js_tag_own_domain_status
string or null
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/v3/applications \
  --header "Authorization: Bearer $TOKEN"