---
title: "Get All Workspace Roles"
method: GET
path: "/workspaces/roles"
tags: ["Workspaces"]
---

# Get All Workspace Roles

`GET /workspaces/roles`

Get all workspace roles.

Returns a list of all available workspace roles.

Returns:
    List[WorkspaceRoleResponse]: A list of DefaultRole objects representing the available workspace roles.

Raises:
    HTTPException: If an error occurs while retrieving the workspace roles.

## Response `200`

Successful Response

- object[]

## Changes

> 359 revisions in range; 46 could not be searched.

- **2025-06-27** `e3e84db47198` — 2 info
  - api tag `Workspace` added
  - api tag `Workspaces` removed

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/workspaces/roles/get.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
