---
title: "List Service Accounts"
method: GET
path: "/v1/service-accounts"
tags: ["beta.service_accounts"]
---

# List Service Accounts

`GET /v1/service-accounts`

List the service accounts in a workspace, or across the organization.

Scoped to a workspace, this requires the Workspace admin (`workspace_admin`) role on
it. Omitting the workspace lists the whole organization and requires the Organization
admin (`organization_admin`) role instead.

## Query parameters

- `workspace_id` string, uuid, nullable
- `include_deleted` boolean
- `offset` integer, required
- `limit` integer, required

## Response `200`

Successful Response

- ListServiceAccountsResponse
  - `items` ServiceAccount[], required
    - `id` string, uuid, required
    - `name` string, required
    - `customer_id` string, uuid, required
    - `organization_id` string, uuid, required
    - `workspace_id` string, uuid, required
    - `description` string, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `deleted_at` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `fa73befe1c61` — 1 breaking, 4 info
  - the response's body type changed from no type to `object` for status `200`
  - the `query` request parameter `workspace_id` became optional
  - `query` request parameter `workspace_id` list-of-types was widened by adding types `null`
  - for the `query` request parameter `workspace_id`, the type was generalized from `string` to no type, and format from `uuid` to no format
  - …1 more
- **2026-09-16** `4cb0b5382d4f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/service-accounts/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)
