---
type: api
title: Get remote cluster information
description: Get information about configured remote clusters.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/operation/operation-cluster-remote-info
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/operation/operation-cluster-remote-info
products:
  - Elasticsearch
---

# Get remote cluster information

Availability: 6.1+

## Paths

- `GET` `/_remote/info`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#basicauth)
- [Bearer auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#bearerauth)

## Description

Get information about configured remote clusters.
The API returns connection and endpoint information keyed by the configured remote cluster alias.

> info
> This API returns information that reflects current state on the local cluster.
> The `connected` field does not necessarily reflect whether a remote cluster is down or unavailable, only whether there is currently an open connection to it.
> Elasticsearch does not spontaneously try to reconnect to a disconnected remote cluster.
> To trigger a reconnection, attempt a cross-cluster search, ES|QL cross-cluster search, or try the `/_resolve/cluster` endpoint.

## Required authorization

* Cluster privileges: `monitor`

[Read the reference documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/modules-cross-cluster-search.html)

## Response

`application/json`

Type: `map string to ClusterRemoteInfo`

## Code Examples

#### Console

```console
GET /_remote/info
```

#### JavaScript

```javascript
const response = await client.cluster.remoteInfo();
```

#### Python

```python
resp = client.cluster.remote_info()
```

#### curl

```curl
curl -X GET "$ELASTICSEARCH_URL/_remote/info" \
  -H "Authorization: ApiKey $ELASTIC_API_KEY"
```

#### Java

```java
client.cluster().remoteInfo();
```

#### C#

```c#
var response = await client.Cluster.RemoteInfoAsync();
```

#### PHP

```php
$resp = $client->cluster()->remoteInfo();
```

#### Ruby

```ruby
response = client.cluster.remote_info
```

