Get desired nodes APIedit

This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.

Get desired nodes.

Requestedit

GET /_internal/desired_nodes/_latest

Descriptionedit

This API gets the latest desired nodes.

Examplesedit

This example gets the latest desired nodes.

GET /_internal/desired_nodes/_latest

The API returns the following result:

{
    "history_id": <history_id>,
    "version": <version>,
    "nodes": [
        {
            "settings": <node_settings>,
            "processors": <node_processors>,
            "memory": "<node_memory>",
            "storage": "<node_storage>",
            "node_version": "<node_version>"
        }
    ]
}