---
ai:
  exclude: true
search:
  tags:
    - project
    - GET
seo:
  description: >-
    Returns the details for a given… Reference for the GET
    /api/2/project/{projectIdOrKey}/role/{id} endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Get details for a project role
  badge: GET
title: Get details for a project role
type: openapi-operation
---
Returns the details for a given project role in a project.

`GET /api/2/project/{projectIdOrKey}/role/{id}`

**Responses**

- `200` — Role details and its actors
- `404` — Returned if the project or role is not found, or the calling user does not have permission to view it.

Response example, 200:

```json
{
  "actors": [
    {
      "name": "jira-developers"
    }
  ],
  "description": "A project role that represents developers in a project",
  "id": 10360,
  "name": "Developers",
  "self": "http://www.example.com/jira/rest/api/2/project/MKY/role/10360"
}
```
