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

# List Consumer Groups

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

Returns 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` 'UNKNOWN' | 'PREPARING_REBALANCE' | 'COMPLETING_REBALANCE' | 'STABLE' | 'DEAD' | 'EMPTY', required
    - `coordinator` Relationship, required
      - `related` string, required
    - `consumer` Relationship
      - `related` string, required
    - `lag_summary` Relationship, required
      - `related` string, required

## Changes

- **2022-03-22** (v3) `0b87d328c664` — 6 warning, 6 info
  - added the new `COMPLETING_REBALANCE` enum value to the `allOf[subschema #2]/data/items/allOf[subschema #2]/state` response property for the response status `200`
  - added the new `DEAD` enum value to the `allOf[subschema #2]/data/items/allOf[subschema #2]/state` response property for the response status `200`
  - added the new `EMPTY` enum value to the `allOf[subschema #2]/data/items/allOf[subschema #2]/state` response property for the response status `200`
  - added the new `PREPARING_REBALANCE` enum value to the `allOf[subschema #2]/data/items/allOf[subschema #2]/state` response property for the response status `200`
  - …8 more
- **2022-01-18** (v3) `242a6e383b71` — 12 info
  - api operation id `listKafkaV3ConsumerGroups` was added
  - api tag `Consumer Group (v3)` added
  - api tag `Consumer Group` removed
  - added the non-success response with the status `400`
  - …8 more
- …earlier changes not shown

[Full history](https://skmtc.dev/confluentinc/apis/rest-admin-api/changes/clusters/:cluster_id/consumer-groups/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/56caffc0859c/schema)
