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

# Return the consumer group specified by the consumer_group_id.

> Gets detailed information about a specific consumer group identified by its ID. Returns consumer group metadata including state, members, and assigned partitions.



## OpenAPI

````yaml get /admin/v1/consumer-groups/{consumer_group_id}
openapi: 3.0.0
info:
  title: StreamNative Kafka REST API
  description: >-
    REST API for managing Kafka resources and producing/consuming messages in
    StreamNative Cloud
  version: v1
servers: []
security: []
paths:
  /admin/v1/consumer-groups/{consumer_group_id}:
    get:
      tags:
        - ksn-consumer-group
      summary: Return the consumer group specified by the consumer_group_id.
      description: >-
        Gets detailed information about a specific consumer group identified by
        its ID. Returns consumer group metadata including state, members, and
        assigned partitions.
      operationId: listConsumerGroupsSpecifiedByTheConsumerGroupId
      parameters:
        - name: consumer_group_id
          in: path
          description: The consumer group ID.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaConsumerGroup'
        '400':
          description: Wrong request params
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
components:
  schemas:
    KafkaConsumerGroup:
      type: object
      properties:
        consumer_group_id:
          type: string
        partition_assignor:
          type: string
        state:
          type: string
        type:
          type: string
        metadata:
          $ref: '#/components/schemas/Metadata'
        simple:
          type: boolean
        kind:
          type: string
    Metadata:
      type: object

````