> ## 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.

# 組織のセキュリティプロファイルの一覧

> 組織が所有するセキュリティプロファイルの一覧を取得します。
エンタープライズで共有されるプロファイルの一覧は、エンタープライズの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.yaml GET /v3beta1/organizations/{org_id}/security-profiles
openapi: 3.1.0
info:
  description: Service User 認証および RBAC に対応した Devin v3 API
  title: Devin API v3
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3beta1/organizations/{org_id}/security-profiles:
    get:
      tags:
        - security-profiles
      summary: 組織のセキュリティプロファイルの一覧
      description: |-
        組織が所有するセキュリティプロファイルの一覧を取得します。
        エンタープライズで共有されるプロファイルの一覧は、エンタープライズのsecurity-profilesパスで取得できます。
      operationId: >-
        handle_list_security_profiles_v3beta1_organizations__org_id__security_profiles_get
      parameters:
        - description: 組織ID（プレフィックス：org-）
          in: path
          name: org_id
          required: true
          schema:
            example: org-abc123def456
            title: Org Id
            type: string
        - in: query
          name: after
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: After
        - in: query
          name: first
          required: false
          schema:
            default: 100
            maximum: 200
            minimum: 1
            title: First
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedResponse_SecurityProfileResponse_
          description: 成功レスポンス
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 認証されていません
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: アクセスが禁止されています
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 見つかりません
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 競合
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 削除済み
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 処理できないコンテンツ
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: リクエスト過多
components:
  schemas:
    PaginatedResponse_SecurityProfileResponse_:
      properties:
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          description: 次のページを取得するためのカーソル。最終ページの場合は None。
          title: End Cursor
        has_next_page:
          default: false
          description: このページの後にアイテムがまだあるかどうか。
          title: Has Next Page
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/SecurityProfileResponse'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: 省略可能な合計件数（パフォーマンスを考慮して省略できます）。
          title: Total
      required:
        - items
      title: PaginatedResponse[SecurityProfileResponse]
      type: object
    ProblemDetail:
      description: >-
        v3 API 用の RFC 9457 application/problem+json エラーボディ。


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

````

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