---
title: "Get Roles"
method: GET
path: "/api/v2/authz/roles/{scope}"
tags: ["Authorization - Roles"]
---

# Get Roles

`GET /api/v2/authz/roles/{scope}`

## Path parameters

- `scope` 'dataset' | 'data_product' | 'domain' | 'global', required

## Response `200`

Successful Response

- GetRolesResponse
  - `roles` Role[], required
    - `name` string, required
    - `scope` 'dataset' | 'data_product' | 'domain' | 'global', required
    - `description` string, required
    - `permissions` AuthorizationAction[], required
    - `id` string, uuid, required
    - `prototype` 0 | 1 | 2 | 3, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-27** `78b5b673e67a` — 1 warning
  - added the new `901.00` enum value to the `roles/items/permissions/items/` response property for the response status `200`
- **2026-06-01** `5a1f5c667f62` — 1 warning
  - added the new `415.00` enum value to the `roles/items/permissions/items/` response property for the response status `200`
- **2026-04-21** `1d06e4d7ba08` — 1 warning
  - added the new `108.00` enum value to the `roles/items/permissions/items/` response property for the response status `200`
- **2026-04-09** `acefda080e5b` — 2 info
  - removed the `108.00` enum value from the `roles/items/permissions/items/` response property for the response status `200`
  - removed the `415.00` enum value from the `roles/items/permissions/items/` response property for the response status `200`

[Change history](https://skmtc.dev/conveyordata/apis/data-product-portal/changes/api/v2/authz/roles/:scope/get.md)

---

[API](https://skmtc.dev/conveyordata/apis/data-product-portal.md) · [All operations](https://skmtc.dev/conveyordata/apis/data-product-portal/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conveyordata/data-product-portal/revisions/a04466f05d17/schema)
