Get a RUM group

Get one of a RUM application's user groups, with its activity in a time range.

GET https://errors.betterstack.com/api/v4/applications/{application_id}/groups/{id}

URL parameters

application_id
required string
id
required string

Query parameters

from
datetime
to
datetime
team_id
string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "456",
    "type": "rum_group",
    "attributes": {
      "application_id": "123456",
      "group_id": "456",
      "name": "Acme Inc.",
      "first_seen_at": "2026-11-10T08:12:44.000Z",
      "last_seen_at": "2026-11-23T17:03:56.000Z",
      "user_count": 12,
      "session_count": 40,
      "error_count": 7,
      "replay_count": 44,
      "users_url": "https://rum.betterstack.com/team/t12345/users#/?q=user.group_id%3D%22456%22&s=123456",
      "sessions_url": "https://rum.betterstack.com/team/t12345/sessions#/?q=user.group_id%3D%22456%22&s=123456"
    }
  }
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/logs/api/getting-started/#obtaining-a-logtail-api-token"
}
403
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}
422

Response body

{
  "errors": "Sorry, some values are incorrect",
  "invalid_values": {
    "to": "to must be after from."
  }
}

Response attributes

id
string
type
string
application_id
string
group_id
string or null
name
string or null
first_seen_at
datetime or null
last_seen_at
datetime or null
user_count
integer
session_count
integer
error_count
integer
replay_count
integer
users_url
string
sessions_url
string

Example cURL

Get a group
curl --request GET \
  --url https://errors.betterstack.com/api/v4/applications/123456/groups/456 \
  --header "Authorization: Bearer $TOKEN"