Clusters
Preview

List a cluster's timeline

What the cluster's operator reported as day-to-day churn: containers restarting, crash looping and being killed, pods starting and stopping, and nodes coming and going. Newest first. Repeated events of one kind on one object are one entry with a count and the times of the first and the last. Entries

GET
/clusters/{clusterId}/timeline
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?array<>

Only entries of these kinds. Repeat the parameter for several.

Response Body

A page of entries, 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/timeline'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",      "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",      "kind": "crash_loop",      "severity": "info",      "object": {        "kind": "string",        "namespace": "string",        "name": "string"      },      "message": "string",      "count": 1,      "firstAt": "2019-08-24T14:15:22Z",      "lastAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}