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

# Get remote cluster information

Availability: Generally available since 6.1

## Paths

- `GET` `/_remote/info`

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

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

## Required authorization

- Cluster privileges: `monitor`

## Authentication

- Api key: `Authorization: <value>`
  Elasticsearch APIs support key-based authentication.
  You must create an API key and use the encoded value in the request header.
  For example:
  
  
  ```
  curl -X GET "${ES_URL}/_cat/indices?v=true" \
    -H "Authorization: ApiKey ${API_KEY}"
  ```
  
  To get API keys, use the `/_security/api_key` APIs.
- Basic: `Authorization: Basic <credentials>`
- Bearer: `Authorization: Bearer <token>`
  Elasticsearch APIs support the use of bearer tokens in the `Authorization` HTTP header to authenticate with the API.
  For examples, refer to [Token-based authentication services](https://www.elastic.co/guide/en/elasticsearch/reference/current/token-authentication-services.html)

## Response

`application/json`

Type: `map string to oneOf`

## 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
```

