Get Prometheus build information

Unreleased This version is not released yet and can change. View the latest version (v9)

  • GET /_prometheus/{index}/api/v1/status/buildinfo
  • GET /_prometheus/api/v1/status/buildinfo
Auth

Get Elasticsearch build information in the format of the Prometheus /api/v1/status/buildinfo endpoint. Prometheus-compatible clients, such as Grafana, call this endpoint to identify the backend and the features it supports.

Path parameters

index string optional

An index pattern, accepted for consistency with the other Prometheus endpoints. The response doesn't depend on it.

Leave it out to use /_prometheus/api/v1/status/buildinfo.

Responses

application/json
status string required

The status of the request. It is always success.

data object required

The Elasticsearch build information.

application string required

The name of the application. It is always Elasticsearch.

version string required

The Elasticsearch version.

revision string required

The commit hash of the Elasticsearch build.

buildDate union oneOf required

The date of the Elasticsearch build.

One of: string or number