---
type: api
title: Get a Cloud Connected cluster
description: Get a Cloud Connected cluster by its identifier.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-getcluster
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-getcluster
products:
  - Elastic Cloud Hosted
---

# Get a Cloud Connected cluster

- Server: `https://api.elastic-cloud.com`

## Paths

- `GET` `/api/v1/cloud-connected/clusters/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-connect/authentication#apikey)

## Description

Get a Cloud Connected cluster by its identifier.

## Responses

#### `200`

The requested Cloud Connected cluster

`application/json`

- `id` (string · pattern: ^[a-z0-9]{32}$)
  ID of the Cloud Connected cluster.
- `name` (string · max: 255)
  Descriptive name for a Cloud Connected cluster.
- `metadata` ({} ClusterMetadata)
  Additional details about the Cloud Connected cluster.
  - `created_at` (string)
    Date and time when the cluster was onboarded.
  - `created_by` (string)
    ID of the user.
  - `organization_id` (string · pattern: ^[a-z0-9]{1,32}$)
    The Organization ID which owns the cluster.
- `self_managed_cluster` ({} SelfManagedCluster)
  A self-managed cluster.
  - `id` (string)
    ID of the self-managed cluster.
  - `name` (string)
    Descriptive name for a self managed cluster.
  - `version` (string)
    The version of the self-managed cluster.
- `license` ({} SelfManagedClusterLicense)
  The license of the self-managed cluster
  - `type` (enum SelfManagedClusterLicenseType)
    The type of the self-managed cluster license.
    Values: `trial`, `basic`, `standard`, `dev`, `silver`, `gold`, `platinum`, `enterprise`
  - `uid` (string)
    The unique identifier of the self-managed cluster license.
- `services` ({} Services)
  A list of Cloud services that can be enabled for a cluster.
  - `auto_ops` ({} ServiceAutoOps)
    Information about the state and configuration for the AutoOps service
    - `enabled` (boolean)
      whether the AutoOps service is enabled for the cluster
    - `support` ({} ServiceSupport)
      Information about whether a service is supported for a cluster
      - `supported` (boolean)
        whether the service can be enabled for the cluster
      - `valid_license_types` ([] enum SelfManagedClusterLicenseType)
        list of license types that support the service.
        Values: `trial`, `basic`, `standard`, `dev`, `silver`, `gold`, `platinum`, `enterprise`
      - `minimum_stack_version` (string)
        minimum stack version that supports the service.
    - `config` ({} ServiceAutoOpsConfig)
      Configuration for the AutoOps service
      - `region_id` (string)
        Unique human-readable identifier for a region in Elastic Cloud.
    - `metadata` ({} ServiceAutoOpsMetadata)
      Metadata information for the AutoOps service, including documentation and service URLs
      - `documentation_url` (string)
        URL to the service documentation
      - `service_url` (string)
        URL to access the service for this cluster.
      - `connect_url` (string)
        URL to connect to the service.
    - `subscription` ({} ServiceSubscription)
      Subscription requirements for a service.
      - `required` (boolean)
        Whether a subscription is required for this service.
  - `eis` ({} ServiceEIS)
    Information about the state and configuration for the EIS service
    - `enabled` (boolean)
      whether the EIS service is enabled for the cluster
    - `support` ({} ServiceSupport)
      Information about whether a service is supported for a cluster
      - `supported` (boolean)
        whether the service can be enabled for the cluster
      - `valid_license_types` ([] enum SelfManagedClusterLicenseType)
        list of license types that support the service.
        Values: `trial`, `basic`, `standard`, `dev`, `silver`, `gold`, `platinum`, `enterprise`
      - `minimum_stack_version` (string)
        minimum stack version that supports the service.
    - `metadata` ({} ServiceBaseMetadata)
      Base metadata information for a service, including documentation URL
      - `documentation_url` (string)
        URL to the service documentation
    - `subscription` ({} ServiceSubscription)
      Subscription requirements for a service.
      - `required` (boolean)
        Whether a subscription is required for this service.
##### Response Headers

- `ETag` (string)

#### `401`

Unauthorized

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
#### `403`

Forbidden

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
#### `404`

Not Found

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code Examples

#### Console

```console
GET /api/v1/cloud-connected/clusters/{id}
```

#### curl

```curl
curl -X GET "https://api.elastic-cloud.com/api/v1/cloud-connected/clusters/{id}"
```

