> ## 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で共有される
プロファイルの一覧は、エンタープライズのsecurity-profilesパスで取得できます。

組織独自のセキュリティプロファイルをページ分割して返します。エンタープライズから共有されたプロファイルは含まれません。それらを取得するには [エンタープライズのセキュリティプロファイル一覧を取得](https://docs.devin.ai/ja/api-reference/v3/security-profiles/list-enterprise-security-profiles.md) を使用してください。

各制限の内容や、プロファイルがどのように決定されるかについては、[セキュリティプロファイル](https://docs.devin.ai/ja/product-guides/security-profiles.md) を参照してください。

## 権限

組織レベルで `ManageSecureModeProfiles` 権限を持つ[サービスユーザー](https://docs.devin.ai/ja/api-reference/v3/service-users/members-service-users.md)または[個人用アクセストークン](https://docs.devin.ai/ja/api-reference/personal-access-tokens.md)が必要です。実行中の Devin セッションが利用するトークンは拒否されるため、セッションが自身に適用されているプロファイルを変更することはできません。


## OpenAPI

````yaml ja/v3-openapi.json GET /v3beta1/organizations/{org_id}/security-profiles
openapi: 3.1.0
info:
  title: Devin API v3
  description: サービスユーザー認証とRBACに対応したDevin v3 API
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3beta1/organizations/{org_id}/security-profiles:
    get:
      tags:
        - security-profiles
      summary: 組織のセキュリティプロファイルの一覧
      description: |-
        組織が所有するセキュリティプロファイルの一覧を取得します。Enterpriseで共有される
        プロファイルの一覧は、エンタープライズのsecurity-profilesパスで取得できます。
      operationId: >-
        handle_list_security_profiles_v3beta1_organizations__org_id__security_profiles_get
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            title: Org Id
            example: org-abc123def456
          description: 組織ID（プレフィックス：org-）
        - name: after
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: After
        - name: first
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            title: First
            default: 100
      responses:
        '200':
          description: 成功レスポンス
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedResponse_SecurityProfileResponse_
        '401':
          description: 認証されていません
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '403':
          description: アクセスが禁止されています
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '404':
          description: 見つかりません
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '409':
          description: 競合
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '410':
          description: 削除済み
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '422':
          description: 処理できないコンテンツ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '429':
          description: リクエスト過多
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
components:
  schemas:
    PaginatedResponse_SecurityProfileResponse_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SecurityProfileResponse'
          type: array
          title: Items
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: End Cursor
          description: 次のページを取得するためのカーソル。最後のページの場合はNoneです。
        has_next_page:
          type: boolean
          title: Has Next Page
          description: このページの後に取得可能なアイテムがあるかどうか。
          default: false
        total:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total
          description: 省略可能な総件数（パフォーマンス上の理由で省略できます）。
      type: object
      required:
        - items
      title: PaginatedResponse[SecurityProfileResponse]
    ProblemDetail:
      properties:
        type:
          type: string
          title: Type
          description: 問題タイプを識別する URI 参照。
          default: about:blank
        title:
          type: string
          title: Title
          description: 問題タイプの、人が読める短い要約。
        status:
          type: integer
          title: Status
          description: HTTP ステータスコード。
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
          description: この発生事象に固有の、人が読める説明。
        instance:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance
          description: この発生事象の URI 参照（リクエストパス）。
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Errors
          description: フィールド単位のバリデーションエラー（422レスポンスの場合のみ）。
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
          description: ブロックされた操作の拒否理由を示す機械可読コード（例："user_frozen", "migrated_session"）。
      type: object
      required:
        - title
        - status
      title: ProblemDetail
      description: >-
        v3 API 向けの RFC 9457 application/problem+json エラーボディ。


        detail は後方互換性のため、レガシーな {"detail": ...}
        ボディから引き続き保持されています。その他のメンバーは追加式です。errors にはフィールド単位の検証エラーが格納されます（422
        の場合のみ）。
    SecurityProfileResponse:
      properties:
        profile_id:
          type: string
          title: Profile Id
          description: セキュリティプロファイルのID。
        name:
          type: string
          title: Name
        net_policy:
          anyOf:
            - $ref: '#/components/schemas/SecurityProfileNetPolicy'
            - type: 'null'
          description: null = このプロファイルではネットワークポリシーが未指定です（すべて拒否という意味ではありません）。
        mcp_config:
          anyOf:
            - $ref: '#/components/schemas/SecurityProfileMcpConfig'
            - type: 'null'
          description: null = このプロファイルではMCPのポリシーが未指定です。
        git_access_level:
          type: string
          enum:
            - read_only
            - read_write
          title: Git Access Level
        enforcement_level:
          type: string
          enum:
            - recommended
            - mandatory
          title: Enforcement Level
          description: >-
            recommendedのプロファイルは下位階層のバインドで上書きできます。mandatoryのプロファイルは制限の最低基準となり、下位階層のポリシーでは制限を厳しくすることしかできません。
        devin_mcp_read_only:
          type: boolean
          title: Devin Mcp Read Only
          description: >-
            trueの場合、セッションは読み取り専用のDevin
            MCPツールのみを呼び出せます（セッションの作成、自動化の管理、その他の書き込み操作はできません）。
        remove_github_cli_token:
          type: boolean
          title: Remove Github Cli Token
          description: trueの場合、セッションのマシンからGitHub CLIトークンが削除され、GitHub APIへの直接アクセスができなくなります。
        slack_channel_access:
          anyOf:
            - $ref: '#/components/schemas/SecurityProfileSlackChannelAccess'
            - type: 'null'
          description: >-
            このプロファイルが適用されるセッションで読み取り・投稿を許可できるSlackチャンネルの最大範囲。null =
            このプロファイルではポリシーが未指定で、組織のSlack設定が適用されます。
        slack_dm_scope:
          anyOf:
            - type: string
              enum:
                - disabled
                - org_members
                - workspace
            - type: 'null'
          title: Slack Dm Scope
          description: >-
            このプロファイルでSlack上のDevinへのDM送信を許可できるユーザーの最大範囲。null =
            このプロファイルではポリシーが未指定で、組織のSlack設定が適用されます。Enterprise
            アカウントでは、'workspace'は'org_members'に制限されます。
        teams_channel_access:
          anyOf:
            - $ref: '#/components/schemas/SecurityProfileTeamsChannelAccess'
            - type: 'null'
          description: >-
            このプロファイルが適用されるセッションで読み取り・投稿を許可できるMicrosoft Teamsチャンネルの最大範囲。null =
            このプロファイルではポリシーが未指定で、組織のTeamsのデフォルトアクセス設定が適用されます。
        teams_dm_scope:
          anyOf:
            - type: string
              enum:
                - disabled
                - installed_users
            - type: 'null'
          title: Teams Dm Scope
          description: >-
            このプロファイルでDevinからのMicrosoft Teams上のDM送信を許可できる相手の最大範囲。null =
            このプロファイルではポリシーが未指定で、組織のTeamsのデフォルトアクセス設定が適用されます。
        teams_group_chat_scope:
          anyOf:
            - type: string
              enum:
                - disabled
                - origin_chat
            - type: 'null'
          title: Teams Group Chat Scope
          description: >-
            このプロフィールでDevinが読み取れるTeamsグループチャットの範囲の上限。`origin_chat` =
            セッションの開始元のグループチャットのみ。null =
            未指定。DMと同様に、組織のTeamsデフォルトアクセス設定に由来する範囲が適用されます。
        created_at:
          type: integer
          title: Created At
        updated_at:
          type: integer
          title: Updated At
        org_id:
          type: string
          title: Org Id
      additionalProperties: false
      type: object
      required:
        - profile_id
        - name
        - git_access_level
        - enforcement_level
        - devin_mcp_read_only
        - remove_github_cli_token
        - created_at
        - updated_at
        - org_id
      title: SecurityProfileResponse
      description: 組織が所有するセキュリティプロファイル。
    SecurityProfileNetPolicy:
      properties:
        allow:
          items:
            anyOf:
              - $ref: '#/components/schemas/SecurityProfileHostnameDestination'
              - $ref: '#/components/schemas/SecurityProfileIpv4Destination'
              - $ref: '#/components/schemas/SecurityProfileIpv6Destination'
          type: array
          title: Allow
          description: >-
            許可する接続先。リストにない接続先はすべてブロックされます。ホスト名のエントリではワイルドカードを利用できます（例：*.github.com）。空のリストも有効で、すべての接続を拒否するポリシーになります。
      additionalProperties: false
      type: object
      required:
        - allow
      title: SecurityProfileNetPolicy
    SecurityProfileMcpConfig:
      properties:
        servers:
          items:
            type: string
          type: array
          title: Servers
          description: >-
            このプロファイルが適用されるセッションで利用できるMCPサーバー。キーには、marketplaceのslug（mcp-serversリソースのslugフィールド。例：'github'、'notion'）またはインストールのslugを使用します。カスタムインストールとmarketplaceのサーバーが同じslugを持つ場合は、カスタムインストールが優先されます。
      additionalProperties: false
      type: object
      required:
        - servers
      title: SecurityProfileMcpConfig
    SecurityProfileSlackChannelAccess:
      properties:
        mode:
          type: string
          enum:
            - none
            - specific
            - all_public
          title: Mode
          description: >-
            none = セッションはどのチャンネルでも読み取りや投稿ができません。specific =
            リストに記載されたチャンネルのみ。all_public = Slackアプリがメンバーになっているすべての公開チャンネル。
        channels:
          items:
            $ref: '#/components/schemas/SecurityProfileSlackChannel'
          type: array
          title: Channels
          description: モードが'specific'の場合に許可されるチャンネル。他のモードでは無視され、空で返されます。
      additionalProperties: false
      type: object
      required:
        - mode
      title: SecurityProfileSlackChannelAccess
    SecurityProfileTeamsChannelAccess:
      properties:
        mode:
          type: string
          enum:
            - none
            - specific
            - installed_teams
          title: Mode
          description: >-
            none = セッションはどのチャンネルでも読み取りや投稿ができません。specific =
            リストに記載されたチャンネルのみ。installed_teams =
            Devinアプリがインストールされているチームのすべてのチャンネル。
        channels:
          items:
            $ref: '#/components/schemas/SecurityProfileTeamsChannel'
          type: array
          title: Channels
          description: モードが'specific'の場合に許可されるチャンネル。他のモードでは無視され、空で返されます。
      additionalProperties: false
      type: object
      required:
        - mode
      title: SecurityProfileTeamsChannelAccess
    SecurityProfileHostnameDestination:
      properties:
        hostname:
          type: string
          title: Hostname
      additionalProperties: false
      type: object
      required:
        - hostname
      title: SecurityProfileHostnameDestination
    SecurityProfileIpv4Destination:
      properties:
        ipv4:
          type: string
          title: Ipv4
      additionalProperties: false
      type: object
      required:
        - ipv4
      title: SecurityProfileIpv4Destination
    SecurityProfileIpv6Destination:
      properties:
        ipv6:
          type: string
          title: Ipv6
      additionalProperties: false
      type: object
      required:
        - ipv6
      title: SecurityProfileIpv6Destination
    SecurityProfileSlackChannel:
      properties:
        team_id:
          type: string
          minLength: 1
          title: Team Id
          description: Slackワークスペース（チーム）のID。
        channel_id:
          type: string
          minLength: 1
          title: Channel Id
          description: SlackチャンネルID。
      additionalProperties: false
      type: object
      required:
        - team_id
        - channel_id
      title: SecurityProfileSlackChannel
    SecurityProfileTeamsChannel:
      properties:
        team_id:
          type: string
          minLength: 1
          title: Team Id
          description: Microsoft TeamsのチームのEntraグループ ID。
        channel_id:
          type: string
          minLength: 1
          title: Channel Id
          description: TeamsチャンネルID（'19:...@thread.tacv2'）。
      additionalProperties: false
      type: object
      required:
        - team_id
        - channel_id
      title: SecurityProfileTeamsChannel
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'サービスユーザーの credential（プレフィックス: cog_）'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.