List incident grouping changes

List the times team members grouped incidents together or removed them from a group, newest first. Covers the last 30 days, or as many days as you set in days.

GET https://incidents.betterstack.com/api/v6/incident-grouping-changes

Query parameters

days
DEFAULT 30 integer
page
integer
team_id
string

Headers

Authorization
required string

Results are paginated

Use pagination.next and pagination.prev to move through pages or jump to a specific one using page. See Pagination.

200

Response body

{
  "data": [
    {
      "id": "123456789",
      "type": "incident_grouping_change",
      "attributes": {
        "action": "ungrouped",
        "created_at": "2026-11-20T09:12:40Z",
        "user": {
          "id": "u4471",
          "name": "Ana Novak",
          "email": "ana@example.com"
        },
        "incident_group_id": "98765",
        "incident_group_name": "Checkout 502s",
        "incidents": [
          {
            "id": "103",
            "name": "api.example.com",
            "cause": "Status 502",
            "started_at": "2026-11-20T08:55:02Z",
            "metadata": {}
          }
        ],
        "incidents_count": 1,
        "group_incidents": [
          {
            "id": "101",
            "name": "api.example.com",
            "cause": "Status 502",
            "started_at": "2026-11-20T08:41:17Z",
            "metadata": {}
          }
        ],
        "group_incidents_count": 2
      }
    }
  ],
  "pagination": {
    "prev": null,
    "next": null
  }
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403
422

Response attributes

id
string
type
string
action
string
created_at
datetime
user
object or null
user.id
string
user.name
string
user.email
string
incident_group_id
string or null
incident_group_name
string or null
incidents
array of objects
incidents[].id
string
incidents[].name
string
incidents[].cause
string
incidents[].started_at
datetime
incidents[].metadata
object
incidents_count
integer
group_incidents
array of objects
group_incidents[].id
string
group_incidents[].name
string
group_incidents[].cause
string
group_incidents[].started_at
datetime
group_incidents[].metadata
object
group_incidents_count
integer
pagination.prev
string or null
pagination.next
string or null

Example cURL

List incident grouping changes Last 7 days
curl --request GET \
  --url https://incidents.betterstack.com/api/v6/incident-grouping-changes \
  --header "Authorization: Bearer $TOKEN"
curl --request GET \
  --url "https://incidents.betterstack.com/api/v6/incident-grouping-changes?days=7" \
  --header "Authorization: Bearer $TOKEN"