Get cluster info

  • GET
Auth

Get basic build, version, and cluster information. ::: In Serverless, version.number always reports the next target Elasticsearch release version at the time of the request. Serverless does not track to a traditional release versioning model; it is continuously updated. The version number is provided to maintain compatibility with existing clients, but it is not meaningful for assessing feature availability. Clients should detect a Serverless environment by checking for build_flavor: serverless.

Learn about Serverless differences

Required privileges

Cluster privileges monitor

Response

application/json
cluster_name string required

The responding cluster's name.

cluster_uuid string required
name string required

The responding node's name.

tagline string required
version object required

Version information for the Elasticsearch cluster. In Serverless, version.number always reports the next target Elasticsearch release version at the time of the request, not an actual deployed version. The version number is provided to maintain client compatibility but is not meaningful for assessing feature availability. Use build_flavor: serverless to detect a Serverless environment.

build_date union oneOf required

The Elasticsearch Git commit's date.

One of: string or number
build_flavor string required

The build flavor. For example, default.

build_hash string required

The Elasticsearch Git commit's SHA hash.

build_snapshot boolean required

Indicates whether the Elasticsearch build was a snapshot.

build_type string required

The build type that corresponds to how Elasticsearch was installed. For example, docker, rpm, or tar.

lucene_version string required

The version number of Elasticsearch's underlying Lucene software.

minimum_index_compatibility_version string required

The minimum index version with which the responding node can read from disk.

minimum_wire_compatibility_version string required

The minimum node version with which the responding node can communicate. Also the minimum version from which you can perform a rolling upgrade.

number string required

The Elasticsearch version number.

Serverless environments are versionless and automatically upgraded, so this value can be safely ignored.