---
title: "Count Groups"
method: GET
path: "/api/v2/groups/count"
tags: ["Groups"]
---

# Count Groups

`GET /api/v2/groups/count`

Returns an approximate count of groups. If the count exceeds 100,000, it is updated every 24 hours.

The `refreshed_at` property of the `count` object is a timestamp that indicates when the count was last updated.

**Note**: When the count exceeds 100,000, `refreshed_at` may occasionally be null. This indicates that the count is being updated in the background, and the `value` property of the `count` object is limited to 100,000 until the update is complete.

#### Allowed For

* Admins
* Agents

## Response `200`

Success response

- GroupsCountObject
  - `count` object
    - `refreshed_at` string, date-time — Timestamp that indicates when the count was last updated
    - `value` integer — Approximate count of groups

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
