---
title: "List Assignable Service Account Roles"
method: GET
path: "/v1/service-accounts/assignable-roles"
tags: ["beta.service_accounts"]
---

# List Assignable Service Account Roles

`GET /v1/service-accounts/assignable-roles`

List the workspace roles that can be assigned to a service account.

Requires the Workspace admin (`workspace_admin`) role.

## Query parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- ListAssignableServiceAccountRolesResponse
  - `items` AssignableServiceAccountRole[], required
    - `uuid` string, uuid, required
    - `name` string, required
    - `description` string, required
    - `is_custom_role` boolean, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `fa73befe1c61` — 1 breaking, 1 info
  - the response's body type changed from no type to `object` for status `200`
  - added the required property `items` to the response with the `200` status
- **2026-09-16** `4cb0b5382d4f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/service-accounts/assignable-roles/get.md)

---

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