---
title: "List Clusters"
method: GET
path: "/clusters"
tags: ["Cluster"]
---

# List Clusters

`GET /clusters`

[![Generally Available](https://img.shields.io/badge/Lifecycle%20Stage-Generally%20Available-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

'Returns a list of known Kafka clusters. Currently both Kafka and Kafka REST
Proxy are only aware of the Kafka cluster pointed at by the
``bootstrap.servers`` configuration. Therefore only one Kafka cluster will be returned in the
response.'

## Response `200`

The list of Kafka clusters.

- ClusterDataList
  - `kind` string, required
  - `metadata` ResourceCollectionMetadata, required
    - `self` string, required
    - `next` string, nullable
  - `data` ClusterData[], required
    - `kind` string, required
    - `metadata` ResourceMetadata, required
      - `self` string, required
      - `resource_name` string, nullable
    - `cluster_id` string, required
    - `controller` Relationship
      - `related` string, required
    - `acls` Relationship, required
      - `related` string, required
    - `brokers` Relationship, required
      - `related` string, required
    - `broker_configs` Relationship, required
      - `related` string, required
    - `consumer_groups` Relationship, required
      - `related` string, required
    - `topics` Relationship, required
      - `related` string, required
    - `partition_reassignments` Relationship, required
      - `related` string, required

## Other responses

- `400` — Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure. Usually serves application/json content, although in some cases simple text/plain content can be returned.
- `401` — Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `429` — Indicates that a rate limit threshold has been reached, and the client should retry again later.
- `5XX` — A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.

## Changes

- **2022-03-22** (v3) `7500cc59fcff` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
- **2022-03-22** (v3) `0b87d328c664` — 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `429`
- **2022-01-18** (v3) `242a6e383b71` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
- **2022-01-18** (v3) `fbdd72178c66` — 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `429`
- **2021-09-08** (v3) `2d4f120a2079` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`

[Full history](https://skmtc.dev/confluentinc/apis/rest-admin-api/changes/clusters/get.md)

---

[API](https://skmtc.dev/confluentinc/apis/rest-admin-api.md) · [All operations](https://skmtc.dev/confluentinc/apis/rest-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluentinc/rest-admin-api/revisions/7500cc59fcff/schema)
