---
title: "Retrieves a project role assigned to a group."
method: GET
path: "/projects/{project_id}/groups/{group_id}/roles/{role_id}"
tags: ["Project group role assignments"]
---

# Retrieves a project role assigned to a group.

`GET /projects/{project_id}/groups/{group_id}/roles/{role_id}`

## Path parameters

- `project_id` string, required
- `group_id` string, required
- `role_id` string, required

## Response `200`

Project role retrieved for the group successfully.

- AssignedRoleDetails — Detailed information about a role assignment entry returned when listing assignments.
  - `id` string, required — Identifier for the role.
  - `name` string, required — Name of the role.
  - `permissions` string[], required — Permissions associated with the role.
  - `resource_type` string, required — Resource type the role applies to.
  - `predefined_role` boolean, required — Whether the role is predefined by OpenAI.
  - `description` string, nullable, required — Description of the role.
  - `created_at` integer, nullable, required — When the role was created.
  - `updated_at` integer, nullable, required — When the role was last updated.
  - `created_by` string, nullable, required — Identifier of the actor who created the role.
  - `created_by_user_obj` object, nullable, required — User details for the actor that created the role, when available.
  - `metadata` object, nullable, required — Arbitrary metadata stored on the role.
  - `assignment_sources` object[], nullable, required — Principals from which the role assignment is inherited, when available.
    - `principal_id` string, required
    - `principal_type` string, required

## Other responses

- `429` — The request was rejected because a rate limit was exceeded.

## Changes

- **2026-08-14** `6ac2618eefd7` — 1 info
  - added the non-success response with the status `429`
- **2026-08-05** `ab0c5306e390` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openai/apis/openapi/changes/projects/:project_id/groups/:group_id/roles/:role_id/get.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/openapi/revisions/959ef977e135/schema)
