---
title: "List Consumer Groups"
method: GET
path: "/clusters/{cluster_id}/consumer-groups"
tags: ["Consumer Group (v3)"]
---

# List Consumer Groups

`GET /clusters/{cluster_id}/consumer-groups`

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

Return the list of consumer groups that belong to the specified
Kafka cluster.

## Response `200`

The list of consumer groups.

- ConsumerGroupDataList
  - `kind` string, required
  - `metadata` ResourceCollectionMetadata, required
    - `self` string, required
    - `next` string, nullable
  - `data` ConsumerGroupData[], required
    - `kind` string, required
    - `metadata` ResourceMetadata, required
      - `self` string, required
      - `resource_name` string, nullable
    - `cluster_id` string, required
    - `consumer_group_id` string, required
    - `is_simple` boolean, required
    - `partition_assignor` string, required
    - `state` string, required
    - `type` string, required
    - `is_mixed_consumer_group` boolean, required
    - `coordinator` Relationship, required
      - `related` string, required
    - `consumers` Relationship, required
      - `related` string, required
    - `lag_summary` 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.
- `401` — Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `403` — Indicates a client authorization error. Kafka authorization failures will contain error code 40301 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.

---

[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/e783c1a5e2bd/schema)
