> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List consumer groups

> Retrieves the consumer groups for the cluster. Results are cached for two minutes (10 seconds on Managed Kafka clusters) unless forceRefresh is true.

`GET /kafka-clusters/{uuid}/consumer-groups`

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `uuid` (string, required)

## Query parameters

* `forceRefresh` (boolean)

## Example request

```bash
curl --request GET \
  --url https://api.artie.com/kafka-clusters/{uuid}/consumer-groups \
  --header 'Authorization: Bearer <token>'
```

## Responses

### 200 OK

* `items` (object[], required)
  * `groupID` (string, required)

```json
{
  "items": [
    {
      "groupID": "<string>"
    }
  ]
}
```

### 404 Not Found

### 500 Internal Server Error