---
updatedAt: 2026-08-06T09:29:11.000Z
agentTools:
  projectIndex: https://docs.cast.ai/llms.txt
---

# Returns node condition events for a cluster within a time range.

Returns node condition events for a cluster within a time range.
 Note: currently only DiskPressure condition events are supported.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "servers": [
    {
      "url": "https://api.cast.ai/",
      "description": "US endpoint"
    },
    {
      "url": "https://api.eu.cast.ai/",
      "description": "EU endpoint"
    }
  ],
  "info": {
    "title": "Reporting",
    "version": "0.0.1"
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/reporting/v1beta/organizations/{organizationId}/clusters/{clusterId}/node-condition-events": {
      "get": {
        "tags": [
          "NodeConditionEventsAPI"
        ],
        "summary": "Returns node condition events for a cluster within a time range.",
        "description": "Returns node condition events for a cluster within a time range.\n Note: currently only DiskPressure condition events are supported.",
        "operationId": "NodeConditionEventsAPI_ListNodeConditionEvents",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "description": "Organization ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "clusterId",
            "in": "path",
            "description": "Cluster ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startTime",
            "in": "query",
            "description": "Start time of the reporting period (inclusive).",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endTime",
            "in": "query",
            "description": "End time of the reporting period (exclusive).",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "nodeNames",
            "in": "query",
            "description": "Filter by node names. If empty, all nodes are included.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "conditions",
            "in": "query",
            "description": "Filter by condition types (e.g., \"DiskPressure\").\n If empty, all conditions are included.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "page.limit",
            "in": "query",
            "description": "Defines the number of items that should be returned",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page.cursor",
            "in": "query",
            "description": "Cursor that defines token indicating where to start the next page.\n Empty value indicates to start from beginning of the dataset.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListNodeConditionEventsResponse"
                }
              }
            }
          },
          "default": {
            "description": "Default error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    },
    "schemas": {
      "GoogleProtobufAny": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "description": "The type of the serialized message."
          }
        },
        "additionalProperties": true,
        "description": "Contains an arbitrary serialized message along with a @type that describes the type of the serialized message."
      },
      "ListNodeConditionEventsResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeConditionEvent"
            },
            "description": "List of node condition events."
          },
          "nextPageCursor": {
            "type": "string",
            "description": "A page cursor to retrieve the next page of results."
          },
          "totalCount": {
            "type": "integer",
            "description": "Total count of items matching the filters.",
            "format": "int32"
          }
        },
        "description": "Response containing node condition events."
      },
      "NodeConditionEvent": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "description": "Node ID (UUID)."
          },
          "nodeName": {
            "type": "string",
            "description": "Node name."
          },
          "instanceType": {
            "type": "string",
            "description": "Instance type of the node."
          },
          "lifecycle": {
            "type": "string",
            "description": "Lifecycle of the node (e.g., \"on-demand\", \"spot\")."
          },
          "condition": {
            "type": "string",
            "description": "Condition type (e.g., \"DiskPressure\")."
          },
          "transitionTime": {
            "type": "string",
            "description": "Time when the condition transitioned to this state.",
            "format": "date-time"
          },
          "podCount": {
            "type": "integer",
            "description": "Number of pods running on the node at the time of the snapshot.",
            "format": "uint32"
          },
          "lastSeenTime": {
            "type": "string",
            "description": "Time when this record was last seen.",
            "format": "date-time"
          }
        },
        "description": "A single node condition event."
      },
      "Status": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GoogleProtobufAny"
            },
            "description": "A list of messages that carry the error details.  There is a common set of message types for APIs to use."
          }
        },
        "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors)."
      }
    }
  },
  "tags": [
    {
      "name": "NodeConditionEventsAPI",
      "description": "Manages Node Condition Events API."
    }
  ]
}
```