---
title: "Get one role for a given composite entity in a version of the application"
method: GET
path: "/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles/{roleId}"
---

# Get one role for a given composite entity in a version of the application

`GET /apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles/{roleId}`

## Request

- Base URL: `{Endpoint}/luis/authoring/v3.0-preview`
- URL: `{Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles/{roleId}`
- Auth: API key in header `Ocp-Apim-Subscription-Key`

## Path parameters

- `appId` string, uuid, required
- `versionId` string, required
- `cEntityId` string, uuid, required
- `roleId` string, uuid, required

## Response `200`

An entity role

- EntityRole: Entity extractor role
  - `id` string, uuid: The entity role ID.
  - `name` string: The entity role name.

## Other responses

- `default`: Error Response.

---

[API](https://skmtc.dev/azure/apis/luis-authoring-client.md) - [All operations](https://skmtc.dev/azure/apis/luis-authoring-client/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/luis-authoring-client/revisions/a26a0f7e5a37?raw)
