---
title: "Get Consumer Group Lag Summary"
method: GET
path: "/clusters/{cluster_id}/consumer-groups/{consumer_group_id}/lag-summary"
tags: ["Consumer Group (v3)"]
---

# Get Consumer Group Lag Summary

`GET /clusters/{cluster_id}/consumer-groups/{consumer_group_id}/lag-summary`

[![Generally Available](https://img.shields.io/badge/Lifecycle%20Stage-Generally%20Available-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy) [![Available in dedicated clusters only](https://img.shields.io/badge/-Available%20in%20dedicated%20clusters%20only-%23bc8540)](https://docs.confluent.io/cloud/current/clusters/cluster-types.html#dedicated-cluster)

Return the maximum and total lag of the consumers belonging to the
specified consumer group.

## Response `200`

The max and total consumer lag in a consumer group.

- ConsumerGroupLagSummaryData
  - `kind` string, required
  - `metadata` ResourceMetadata, required
    - `self` string, required
    - `resource_name` string, nullable
  - `cluster_id` string, required
  - `consumer_group_id` string, required
  - `max_lag_consumer_id` string, required
  - `max_lag_instance_id` string, nullable
  - `max_lag_client_id` string, required
  - `max_lag_topic_name` string, required
  - `max_lag_partition_id` integer, required
  - `max_lag` integer, required
  - `total_lag` integer, required
  - `max_lag_consumer` Relationship, required
    - `related` string, required
  - `max_lag_partition` Relationship, required
    - `related` string, required

## Other responses

- `400` — Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure.
- `401` — Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `403` — Indicates a client authorization error. Kafka authorization failures will contain error code 40301 in the response body.
- `429` — Indicates that a rate limit threshold has been reached, and the client should retry again later.
- `5XX` — A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.

## Changes

- **2023-08-08** (v3) `25e5259d1722` — 1 breaking, 2 info
  - removed the media type `text/plain` for the response with the status `400`
  - api operation id `getKafkaV3ConsumerGroupLagSummary` removed and replaced with `getKafkaConsumerGroupLagSummary`
  - added the non-success response with the status `403`
- **2023-08-08** (v3) `1be42847ed21` — 3 info
  - api operation id `getKafkaConsumerGroupLagSummary` removed and replaced with `getKafkaV3ConsumerGroupLagSummary`
  - added the media type `text/plain` for the response with the status `400`
  - removed the non-success response with the status `403`
- **2023-03-10** (v3) `bb1cdf42f052` — 1 breaking, 2 info
  - removed the media type `text/plain` for the response with the status `400`
  - api operation id `getKafkaV3ConsumerGroupLagSummary` removed and replaced with `getKafkaConsumerGroupLagSummary`
  - added the non-success response with the status `403`
- **2022-03-22** (v3) `7500cc59fcff` — 6 info
  - api operation id `getKafkaV3ConsumerGroupLagSummary` was added
  - api tag `Consumer Group (v3)` added
  - api tag `Consumer Group` removed
  - added the non-success response with the status `400`
  - …2 more
- …earlier changes not shown

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