---
type: api
title: Get Cloud Connected clusters
description: Fetches a list of Cloud Connected clusters.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-listclusters
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-listclusters
products:
  - Elastic Cloud Hosted
---

# Get Cloud Connected clusters

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

## Paths

- `GET` `/api/v1/cloud-connected/clusters`

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

## Description

Fetches a list of Cloud Connected clusters.

## Responses

#### `200`

The Cloud Connected cluster list

`application/json`

- `items` ([] Cluster)
  The actual clusters.
  - `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.
#### `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.
## Code Examples

#### Console

```console
GET /api/v1/cloud-connected/clusters
```

#### curl

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

