---
type: api
title: Ping the cluster
description: Get information about whether the cluster is running.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/elasticsearch/v8/operation/operation-ping
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/elasticsearch/v8/operation/operation-ping
products:
  - Elasticsearch
---

# Ping the cluster

Authentication: required

## Paths

- `HEAD` `/`

## Description

Get information about whether the cluster is running.

## Response

`application/json`

## Code examples

#### Console

```console
HEAD /
```

#### curl

```curl
curl -X HEAD "${ELASTICSEARCH_URL}/" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### 200

`application/json`

