> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 利用可能なロールを一覧表示する

> ユーザーのEnterpriseで利用可能なすべてのロールを一覧表示します

Enterpriseの管理者である個人用APIキーが必要です。

Enterprise内で利用可能なすべてのロールの一覧を返します。Enterpriseレベルと組織レベルのロールの両方が含まれます。各ロールには、一意の識別子、表示名、およびタイプが含まれます。


## OpenAPI

````yaml ja/v2-openapi.yaml GET /v2/enterprise/roles
openapi: 3.1.0
info:
  description: Enterprise 管理者向け Personal API Keys 対応 Devin v2 API
  title: Devin API v2
  version: 2.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v2/enterprise/roles:
    get:
      tags:
        - roles
      summary: Enterprise ロール エンドポイント
      description: |-
        ユーザーの Enterprise で利用可能なすべてのロールを一覧します。
        各ロールについて、role_id、role_name、role_type を含めます。
      operationId: enterprise_roles_endpoint_v2_enterprise_roles_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RoleResponse'
                title: Response Enterprise Roles Endpoint V2 Enterprise Roles Get
                type: array
          description: 成功時のレスポンス
components:
  schemas:
    RoleResponse:
      properties:
        role_id:
          title: Role Id
          type: string
        role_name:
          title: Role Name
          type: string
        role_type:
          title: Role Type
          type: string
      required:
        - role_id
        - role_name
        - role_type
      title: RoleResponse
      type: object
  securitySchemes:
    bearerAuth:
      description: Enterprise 管理者専用の個人用 API キー (apk_user_*)
      scheme: bearer
      type: http

````