---
title: "Get a permission set"
method: GET
path: "/v1/permissions/sets/{permissionSetId}"
tags: ["Permissions"]
---

# Get a permission set

`GET /v1/permissions/sets/{permissionSetId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/permissions/sets/{permissionSetId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns one permission set with the status of every catalog permission (allow or deny, whether it is locked on, and who last changed it) and who it applies to: everyone (Member permissions), members with the admin role and Admin teams (Admin permissions), or the linked team and its members. The names and emails of those people, and the email of whoever last changed each permission, are only included when the caller also holds teams.view; otherwise only the counts (and the changer's name) are. Archived team sets are still readable. Requires permissions.view.

## Path parameters

- `permissionSetId` string, typeid, required

## Response `200`

Permission set returned successfully.

- PermissionSetResponse
  - `set` PermissionSetDetail, required
    - `id` string, required
    - `name` string, required
    - `kind` 'member_default' | 'admin_default' | 'billing_manager_default' | 'super_admin_default' | 'team', required
    - `team` PermissionSetTeam, nullable, required
      - `id` string, required
      - `name` string, nullable, required: Null when the team no longer exists.
    - `teams` PermissionSetTeam[], required: Every team the set applies to now. More than one only with Shared roles.
      - `id` string, required
      - `name` string, nullable, required: Null when the team no longer exists.
    - `directMemberIds` string[], required: People given this set directly, without a team (a custom role or Billing manager). Member ids only; pending invitations included.
    - `allowedCount` integer, required
    - `createdAt` string, date-time, required
    - `archivedAt` string, date-time, nullable, required
    - `permissions` PermissionSetKeyState[], required
      - `key` string, required
      - `status` 'allow' | 'deny', required
      - `locked` boolean, required: Always on in this set; it can't be turned off.
      - `lastChangedAt` string, date-time, nullable, required
      - `lastChangedBy` PermissionChangedBy, nullable, required
        - `memberId` string, required
        - `name` string, nullable, required
        - `email` string, nullable, required: Null unless the caller holds teams.view, or when the member has no email.
      - `lastChangeSource` 'user' | 'seed' | 'reconcile' | 'migration', nullable, required
    - `appliesTo` union, required
      - object
        - `kind` 'everyone', required
        - `memberCount` integer, required
      - object
        - `kind` 'admins', required
        - `directAdminCount` integer, required
        - `directAdmins` PermissionPerson[], nullable, required: Names and emails of members with the admin role. Null unless the caller holds teams.view; directAdminCount is always returned.
          - `memberId` string, required
          - `name` string, required
          - `email` string, required
        - `adminTeams` object[], required
          - `id` string, required
          - `name` string, required
          - `memberCount` integer, required
      - object
        - `kind` 'super_admins', required
        - `superAdminCount` integer, required
        - `superAdmins` PermissionPerson[], nullable, required: Names and emails of members with the super-admin role. Null unless the caller holds teams.view; superAdminCount is always returned.
          - `memberId` string, required
          - `name` string, required
          - `email` string, required
      - object
        - `kind` 'team', required
        - `team` PermissionSetTeam, nullable, required
          - `id` string, required
          - `name` string, nullable, required: Null when the team no longer exists.
        - `teams` PermissionSetTeam[], required
          - `id` string, required
          - `name` string, nullable, required: Null when the team no longer exists.
        - `memberCount` integer, required: People in any of the set's teams, each counted once.
        - `members` PermissionPerson[], nullable, required: Names and emails of the people in the set's teams. Null unless the caller holds teams.view; memberCount is always returned.
          - `memberId` string, required
          - `name` string, required
          - `email` string, required

## Other responses

- `400`: The permission set id was invalid.
- `401`: The caller must be signed in.
- `403`: The caller lacks permissions.view.
- `404`: The permission set or organization was not found, or Permissions is turned off.

## Changes

- **2026-11-10** `7caa32d85ccc`: 1 warning, 1 info
  - added the new `billing_manager_default` enum value to the `set/kind` response property for the response status `200`
  - added the required property `set/directMemberIds` to the response with the `200` status
- **2026-11-06** `20dfeecd1cd0`: 1 breaking, 1 warning
  - added `subschema #3` to the `set/appliesTo` response property `oneOf` list for the response status `200`
  - added the new `super_admin_default` enum value to the `set/kind` response property for the response status `200`
- **2026-10-23** `c93387179b31`: 6 breaking, 10 info
  - the response property `set/appliesTo/oneOf[subschema #3]/team/anyOf[#/components/schemas/PermissionSetTeam]/name` became nullable for the status `200`
  - the response property `set/appliesTo/oneOf[subschema #3]/teams/items/name` became nullable for the status `200`
  - the response property `set/permissions/items/lastChangedBy/anyOf[#/components/schemas/PermissionChangedBy]/email` became nullable for the status `200`
  - the response property `set/permissions/items/lastChangedBy/anyOf[#/components/schemas/PermissionChangedBy]/name` became nullable for the status `200`
  - …12 more
- **2026-10-14** `0005cd4e85a8`: 2 info
  - added the required property `set/appliesTo/oneOf[subschema #3]/teams` to the response with the `200` status
  - added the required property `set/teams` to the response with the `200` status
- **2026-10-09** `cc8a41bb846e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/permissions/sets/:permissionSetId/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
