Get a placement group

Get a placement group, with its placement type and the servers in it.

GET https://{availability_zone}.betterstackcloud.com/v1/placement-groups/{id}
id string required

The ID of the placement group to get.

Authorization string required

Bearer $TOKEN

200 OK
{
  "id": "example",
  "name": "Example placement group",
  "placement_type": "spread",
  "server_ids": [
    "123456789"
  ],
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z",
  "team_id": "t123",
  "metadata": {
    "example": "value"
  }
}

Returns the placement group.

id string

The placement group's ID, a UUID.

name string

The group's name.

placement_type string

How we place the group's servers. When there isn't room, the server is still created, on another host.
Valid values:
spread: We put each server on a different host when we can.
compact: We put the servers on as few hosts as we can.

server_ids array of strings

The IDs of the servers in the group. A server joins the group when you create it with placement_group_id.

created_at datetime

When the group was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the group was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the group. betterstack team list shows it.

metadata object

Your own tags, as string keys and values.