---
title: "List roles"
method: GET
path: "/roles"
tags: ["roles"]
---

# List roles

`GET /roles`

List all active roles with user counts and permissions

## Response `200`

OK

- Role[]
  - `description` string
  - `id` string
  - `name` string
  - `permissions` Permission[]
    - `action` string
    - `description` string
    - `id` string
    - `name` string
    - `resource_type` string

## Other responses

- `500` — Internal Server Error

## Changes

- **2026-07-04** `44c969026994` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/roles/get.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/32cf70022131/schema)
