---
title: "Customer Group Counts Route"
method: GET
path: "/api/v1/customers/group-counts"
tags: ["customers"]
---

# Customer Group Counts Route

`GET /api/v1/customers/group-counts`

Per-group row counts for the grouped Users view's section headers,
honouring the active filters (search / health / plan / churn). Each group's
rows are fetched separately via the cursor list.

## Query parameters

- `group_by` string, required — plan | health | lifecycle
- `health` string[], nullable
- `plan_tier` string, nullable
- `lifecycle_stage` string, nullable
- `search` string, nullable
- `min_churn_risk` number, nullable
- `max_churn_risk` number, nullable
- `min_actions` integer, nullable

## Headers

- `authorization` string, nullable — Bearer <token>

## Response `200`

Successful Response

- EnvelopeListDict
  - `data` object[], required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
