---
title: "List SCIM group → role mappings"
method: GET
path: "/group-mapping"
tags: ["Group mapping"]
---

# List SCIM group → role mappings

`GET /group-mapping`

## Request

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

Lists the SCIM group to role mappings, cursor-paginated. Requires `sso:view`.

## Query parameters

- `limit` integer
- `cursor` string

## Headers

- `X-Organization-Id` string

## Response `200`

OK

- object
  - `result` object[], required
    - `id` string: Group mapping id (`gmap_…`).
    - `scim_group_id` string: SCIM group from `GET /scim-group`.
    - `role_ids` string[]: The single role (`role_…`) every member of that group receives.
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `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)
