---
title: "Get details of custom permission sets in a workspace"
method: GET
path: "/workspaces/{workspace_domain}/permissions"
tags: ["Permission API"]
---

# Get details of custom permission sets in a workspace

`GET /workspaces/{workspace_domain}/permissions`

## Path parameters

- `workspace_domain` string, required

## Response `200`

Permission sets retrieved successfully

- PermissionSetsView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `permission_sets` PermissionSetView[]
    - `url` string — API endpoint to GET this object
    - `html_url` string — Web URL to view this object in Buddy.works
    - `name` string, required — The name of the permission set
    - `repository_access_level` 'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE', required — The repository access level
    - `pipeline_access_level` 'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE', required — The pipeline access level
    - `sandbox_access_level` 'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE', required — The sandbox access level
    - `project_team_access_level` 'READ_ONLY' | 'MANAGE', required — The project team access level
    - `environment_access_level` 'DENIED' | 'MANAGE' | 'USE_ONLY', required — The environment access level
    - `artifact_access_level` 'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE', required — The artifact access level
    - `routing_access_level` 'DENIED' | 'READ_ONLY' | 'MANAGE', required — The routing access level
    - `target_access_level` 'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE', required — The target access level
    - `tunnel_agent_access_level` 'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE', required — Tunnel agent access level
    - `note` string — Note for this resource
    - `agent_note` string — YAML note for AI agents operating on this resource
    - `id` integer, required — The ID of the permission set
    - `type` 'DEVELOPER' | 'READ_ONLY' | 'CUSTOM' | 'PROJECT_MANAGER' — The type of the permission set

---

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