Clusters
Preview

List a cluster's connection history

When the cluster's operator connected and when its connection ended, with the reason, newest first. A disconnect says how long the cluster stayed disconnected, or null while it still is.

GET
/clusters/{clusterId}/connection-events
cookiebetter-auth.session_token<token>

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

clusterId*string
Formatuuid
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

kind?string

Only connects or only disconnects.

Value in"connected""disconnected"

Response Body

A page of events, newest first.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/connection-events'
Example Response
{  "items": [    {      "id": 0,      "kind": "connected",      "at": "2019-08-24T14:15:22Z",      "reason": "string",      "durationSeconds": 0    }  ],  "nextCursor": "string"}