---
title: "Get list of all groups"
method: GET
path: "/groups"
tags: ["groups"]
---

# Get list of all groups

`GET /groups`

## Query parameters

- `offset` integer
- `limit` integer
- `with_user_counts` boolean

## Response `200`

successfully retrieved all groups

- object
  - `total_count` integer
  - `items` Group[]
    - `id` string — uid
    - `name` string — the name of the group
    - `description` string — the description of the group
    - `members_count` integer — member count
    - `created_at` string — when the group was created
    - `updated_at` string — when the group was updated
    - `user_permission` 'read' | 'manage' — permissions types for users * "read" - the group member can only view within the group * "manage" - the group member can both view and edit group and update users
    - `remote` boolean — remote group

## Other responses

- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden
- `500` — Internal server error

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/revisions/6aef0cb7a151/schema)
