---
title: "Retrieve user group model roles"
method: GET
path: "/v1/user-groups/{userGroupId}/model-roles"
tags: ["User group model roles"]
---

# Retrieve user group model roles

`GET /v1/user-groups/{userGroupId}/model-roles`

Retrieve the model role assignments for a user group.

## Path parameters

- `userGroupId` string, required

## Query parameters

- `modelId` string, uuid
- `connectionId` string, uuid

## Response `200`

User group model roles retrieved successfully.

- object
  - `userGroupId` string — The ID of the user group.
  - `results` object[] — Array of role assignments for the user group.
    - `modelId` string, uuid — The ID of the model.
    - `connectionId` string, uuid — The ID of the connection.
    - `roleName` string — The role assigned to the user group for this model.
    - `baseRole` string — The base role assigned to the user group.

## Other responses

- `404` — User group not found in organization.
- `429` — Too Many Requests - Rate limit exceeded (60 requests/minute)

---

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