Get cluster info
- GET
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.
Required authorization
- Cluster privileges monitor
Response
-
versionobjectrequired -
Version information for the Elasticsearch cluster. In Serverless,
version.numberalways 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. Usebuild_flavor: serverlessto detect a Serverless environment.