---
title: "List team workspaces"
method: GET
path: "/orgs/{orgId}/teams/{teamId}/workspaces"
tags: ["teams"]
---

# List team workspaces

`GET /orgs/{orgId}/teams/{teamId}/workspaces`

Lists all the workspaces of which the given `teamId` is a participant.

## Path parameters

- `orgId` integer, required
- `teamId` integer, required

## Query parameters

- `max` integer
- `offset` integer
- `search` string

## Response `200`

OK

- ListWorkspacesByTeamResponse
  - `totalSize` integer
  - `workspaces` WorkspaceParticipantResponseDto[]
    - `orgId` integer
    - `orgName` string
    - `participantId` integer
    - `participantRole` string
    - `workspaceFullName` string
    - `workspaceId` integer
    - `workspaceName` string

## Other responses

- `400` — Bad Request
- `403` — Operation not allowed
- `404` — Not Found

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
