Clusters

Fetch all of a cluster events

Retrieve a list of events for a specified Kubernetes cluster, providing detailed information for each, including the type of event, event ID, timestamp, and a message describing the event.

get/core/clusters/{cluster_id}/events

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/clusters/{cluster_id}/events
  • Auth: API key in header api_key

Path parameters

cluster_idstring required

ID of the cluster.

Response

Success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Successfully retrived events for Cluster example-c1",
  "cluster_events": [
    {
      "id": 6190,
      "cluster_id": 5341,
      "user_id": 1402,
      "org_id": 9876,
      "time": "2026-05-06T14:32:11Z",
      "type": "normal",
      "reason": "ClusterCreationRequest",
      "object": "example-c1",
      "message": "Cluster example-c1 Creation Request Sent."
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.