---
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

- **2021-03-10** (v3) `d61f00e40f31` — 3 breaking, 6 warning, 8 info
  - removed the required property `allOf[subschema #2]/data/items/allOf[subschema #2]/consumers` from the response with the `200` status
  - removed the required property `allOf[subschema #2]/data/items/allOf[subschema #2]/is_mixed_consumer_group` from the response with the `200` status
  - removed the required property `allOf[subschema #2]/data/items/allOf[subschema #2]/type` from the response with the `200` status
  - 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`
  - …13 more

[Change 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/4de8ce028b2e/schema)
