Get cluster info Generally available

GET /

Get basic build, version, and cluster information.

In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored.

Required authorization

  • Cluster privileges: monitor

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • 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

      The running version of Elasticsearch.

      Hide version attributes Show version attributes object
      • build_date string | number

        The Elasticsearch Git commit's date.

        One of:

        The Elasticsearch Git commit's date.

        The Elasticsearch Git commit's date.

      • 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.

        IMPORTANT: For Serverless deployments, this static value is always 8.11.0 and is used solely for backward compatibility with legacy clients. Serverless environments are versionless and automatically upgraded, so this value can be safely ignored.

GET /
resp = client.info()
const response = await client.info();
response = client.info
$resp = $client->info();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/"
client.info();
Response examples (200)
A successful response from `GET /`.
{
  "name": "instance-0000000000",
  "cluster_name": "my_test_cluster",
  "cluster_uuid": "zk-HjQtYQGyL3NFSSu7InA",
  "version": {
    "number": "9.1.0",
    "build_flavor": "default",
    "build_type": "docker",
    "build_hash": 0,
    "build_date": "2025-07-09T22:10:13.578Z",
    "build_snapshot": false,
    "lucene_version": "10.2.2",
    "minimum_wire_compatibility_version": "8.19.0",
    "minimum_index_compatibility_version": "8.0.0"
  },
  "tagline": "You Know, for Search"
}
A successful response from `GET /` on Serverless. This API is retained for backward compatibility only. Some fields, such as the version number, return static values and should be ignored.
{
  "name": "serverless",
  "cluster_name": "my_test_serverless_cluster",
  "cluster_uuid": "8xx0pi24Squnf4PFDOAtwg",
  "version": {
    "number": "8.11.0",
    "build_flavor": "serverless",
    "build_type": "docker",
    "build_hash": 0,
    "build_date": "2023-10-31T00:00:00.000Z",
    "build_snapshot": false,
    "lucene_version": "9.7.0",
    "minimum_wire_compatibility_version": "8.11.0",
    "minimum_index_compatibility_version": "8.11.0"
  },
  "tagline": "You Know, for Search"
}