GetClusterOperationDetails200Response

pydantic model openapi_client.models.get_cluster_operation_details200_response.GetClusterOperationDetails200Response

GetClusterOperationDetails200Response

Fields:
field oneof_schema_1_validator: Optional[Annotated[List[IndexHistoryInner], Field(max_length=3)]] = None

Catalog index history for the OpenSearch cluster, returned by GET /clusters/os/indexhistory as a bare JSON array. The backend returns at most the 3 most recent entries, newest first, and there are no pagination parameters, so this is a recent-activity summary rather than a complete audit log. An empty array means no indexing operations have been recorded.

field oneof_schema_2_validator: Optional[RagMetricsResponse] = None
field oneof_schema_3_validator: Optional[OperationsResponse] = None
field actual_instance: Optional[Union[List[IndexHistoryInner], OperationsResponse, RagMetricsResponse]] = None
field one_of_schemas: Set[str] = {'List[IndexHistoryInner]', 'OperationsResponse', 'RagMetricsResponse'}
__init__(*args, **kwargs)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

classmethod from_dict(obj)
Return type:

Self

classmethod from_json(json_str)

Returns the object represented by the json string

Return type:

Self

to_json()

Returns the JSON representation of the actual instance

Return type:

str

to_dict()

Returns the dict representation of the actual instance

Return type:

Union[Dict[str, Any], List[IndexHistoryInner], OperationsResponse, RagMetricsResponse, None]

to_str()

Returns the string representation of the actual instance

Return type:

str