> ## Documentation Index
> Fetch the complete documentation index at: https://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 unless forceRefresh is true.



## OpenAPI

````yaml https://raw.githubusercontent.com/artie-labs/artie-api-spec/refs/heads/master/openapi.yaml get /kafka-clusters/{uuid}/consumer-groups
openapi: 3.1.0
info:
  description: External API endpoints for Artie
  title: Artie API
  version: v1.0.130
servers:
  - url: https://api.artie.com
security:
  - ApiKey: []
paths:
  /kafka-clusters/{uuid}/consumer-groups:
    get:
      tags:
        - Kafka Clusters
      summary: List consumer groups
      description: >-
        Retrieves the consumer groups for the cluster. Results are cached for
        two minutes unless forceRefresh is true.
      operationId: kafka_consumer_group_list
      parameters:
        - in: path
          name: uuid
          required: true
          schema:
            type: string
        - in: query
          name: forceRefresh
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponseBodyKafkaConsumerGroup'
          description: OK
        '404':
          description: Not Found
        '500':
          description: Internal Server Error
components:
  schemas:
    ListResponseBodyKafkaConsumerGroup:
      properties:
        items:
          items:
            $ref: '#/components/schemas/PayloadsKafkaConsumerGroup'
          type: array
      required:
        - items
      type: object
    PayloadsKafkaConsumerGroup:
      properties:
        groupID:
          type: string
      required:
        - groupID
      type: object
  securitySchemes:
    ApiKey:
      description: API key passed as a Bearer token in the Authorization header.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.