Clusters
Preview

Count the clusters a caller reaches by state

How many of the clusters the caller may read are in each state of the clusters list, so its filters show their counts however many pages there are.

GET
/clusters/summary
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The counts.

application/json
  1. response
total*integer
connected*integer

Connected, including those that need an upgrade.

upgrade*integer
disconnected*integer
unassigned*integer

Clusters that belong to no environment.

production*integer
Example Request
curl -X GET 'https://wardn.example.com/api/v1/clusters/summary'
Example Response
{  "total": 0,  "connected": 0,  "upgrade": 0,  "disconnected": 0,  "unassigned": 0,  "production": 0}