---
title: "List SCIM groups"
method: GET
path: "/scim-group"
tags: ["SCIM groups"]
---

# List SCIM groups

`GET /scim-group`

## Request

- Base URL: `https://api.elaichi.ai`
- URL: `https://api.elaichi.ai/scim-group`
- Auth: HTTP bearer

Read-only view of the groups the IdP has pushed, for populating the group → role mapping picker. Groups themselves are created and deleted by the IdP through `/scim/v2/Groups`, never here. Each row carries a bounded membership summary — `member_count` plus `member_preview` (at most 5 display names) — never the membership itself; page that through `GET /scim-group/{id}/member`. Cursor-paginated. Requires `sso:view`.

## Query parameters

- `limit` integer
- `cursor` string
- `q` string

## Headers

- `X-Organization-Id` string

## Response `200`

OK

- object
  - `result` object[], required
  - `next_cursor` string, nullable, required
  - `prev_cursor` string, nullable, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Rate limited

---

[API](https://skmtc.dev/elaichi/apis/elaichi-api.md) · [All operations](https://skmtc.dev/elaichi/apis/elaichi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/elaichi/apis/elaichi-api/revisions/b22cfb7b6d15?raw)
