---
title: "List workspace service accounts"
method: GET
path: "/orgs/{orgId}/workspaces/{workspaceId}/service-accounts"
tags: ["service-accounts"]
---

# List workspace service accounts

`GET /orgs/{orgId}/workspaces/{workspaceId}/service-accounts`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Lists the service accounts assigned to the workspace identified by the given `workspaceId`.

## Path parameters

- `orgId` integer, required
- `workspaceId` integer, required

## Query parameters

- `pageToken` string, nullable
- `pageSize` integer, nullable

## Response `200`

OK

- ListWorkspaceServiceAccountsResponse
  - `items` WorkspaceServiceAccountDto[]
    - `createdAt` string, date-time
    - `description` string, nullable
    - `id` integer
    - `name` string
  - `nextPageToken` string, nullable

## Other responses

- `400`: Bad request
- `403`: Operation not allowed
- `404`: Service accounts are not enabled for this organization

## Changes

> 19 revisions in range; 1 not diffed.

- **2026-10-06** `0e1a1696f553`: 1 info
  - added the non-success response with the status `404`
- **2026-09-28** `24f327d93421`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/orgs/:orgId/workspaces/:workspaceId/service-accounts/get.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) - [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/seqeralabs/apis/seqera-api/revisions/adab9fd613a4?raw)
