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

# Code-Scan-Profile auflisten (Devin API)

> Die für ein Enterprise verfügbaren Devin-Code-Scan-Profile auflisten, einschließlich organisationsspezifischer und kontoweit geteilter Discover- und Ingestionsprofile

<div id="permissions">
  ## Berechtigungen
</div>

Erfordert einen [Service-Benutzer](/de/api-reference/v3/service-users/members-service-users) oder ein [persönliches Zugriffstoken](/de/api-reference/personal-access-tokens) mit der Berechtigung `ViewAccountCodeScans` auf Enterprise-Ebene.

<div id="behavior">
  ## Verhalten
</div>

Gibt Profilzusammenfassungen (ohne Anleitungstext) absteigend nach Aktualität zurück, einschließlich organisationsspezifischer Profile und kontoweit freigegebener Profile (`org_id` ist bei freigegebenen Profilen `null`). Jede Zusammenfassung enthält den `mode` des Profils (`discover` oder `ingest`) sowie den `scan_type`, die bestimmen, ob das Profil an [Code-Scan starten](/de/api-reference/v3/code-scans/enterprise-code-scans-start) oder [Ingestion-Scan starten](/de/api-reference/v3/code-scans/enterprise-code-scans-start-ingestion) übergeben werden kann.

Optional nach `org_ids` filtern; die Ergebnisse werden mit einem nicht interpretierbaren Cursor (`after` / `first`) paginiert. Verwenden Sie [Code-Scan-Profil abrufen](/de/api-reference/v3/code-scans/enterprise-code-scans-profile), um die vollständige Anleitung eines Profils abzurufen. Das Pendant im Org-Geltungsbereich ist [Code-Scan-Profile auflisten (Organisation)](/de/api-reference/v3/code-scans/organizations-code-scans-profiles).


## OpenAPI

````yaml de/v3-openapi.yaml GET /v3/enterprise/code-scans/profiles
openapi: 3.1.0
info:
  description: Devin v3 API mit Service-User-Authentifizierung und RBAC
  title: Devin API v3
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3/enterprise/code-scans/profiles:
    get:
      tags:
        - code-scans
      summary: Code-Scan-Profile auflisten
      description: >-
        Code-Scan-Profile für das Enterprise-Konto auflisten.


        Gibt Profilzusammenfassungen (ohne Anleitungen) zurück, neueste zuerst,
        einschließlich organisationsgebundener und kontoweit freigegebener
        Profile. Optional nach ``org_ids`` filtern; die Ergebnisse werden mit
        einem opaken Cursor (``after`` / ``first``) paginiert.
      operationId: handle_list_code_scan_profiles_v3_enterprise_code_scans_profiles_get
      parameters:
        - 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
        - description: >-
            Gibt nur Profile zurück, die für diese Organisationen sichtbar sind.
            Standardmäßig werden alle Organisationen im Konto verwendet.
          in: query
          name: org_ids
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Gibt nur Profile zurück, die für diese Organisationen sichtbar
              sind. Standardmäßig werden alle Organisationen im Konto verwendet.
            title: Org Ids
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedResponse_CodeScanProfileSummaryResponse_
          description: Erfolgreiche Antwort
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht autorisiert
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Verboten
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht gefunden
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Konflikt
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht verarbeitbarer Inhalt
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Zu viele Anfragen
components:
  schemas:
    PaginatedResponse_CodeScanProfileSummaryResponse_:
      properties:
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Cursor zum Abrufen der nächsten Seite oder None, wenn dies die
            letzte Seite ist.
          title: End Cursor
        has_next_page:
          default: false
          description: Gibt an, ob nach dieser Seite weitere Einträge verfügbar sind.
          title: Has Next Page
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/CodeScanProfileSummaryResponse'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Optionale Gesamtanzahl (kann aus Performance-Gründen weggelassen
            werden).
          title: Total
      required:
        - items
      title: PaginatedResponse[CodeScanProfileSummaryResponse]
      type: object
    ProblemDetail:
      description: >-
        RFC 9457 application/problem+json-Fehlertext für die v3-API.


        detail wird aus dem Legacy-Body {"detail": ...} aus Gründen der
        Abwärtskompatibilität beibehalten; die

        anderen Member sind additiv. errors enthält Validierungsfehler auf
        Feldebene

        (nur 422).
      properties:
        detail:
          anyOf:
            - type: string
            - type: 'null'
          description: Eine menschenlesbare Erklärung, die speziell für diesen Fall gilt.
          title: Detail
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: Validierungsfehler auf Feldebene (nur bei 422-Antworten).
          title: Errors
        instance:
          anyOf:
            - type: string
            - type: 'null'
          description: Eine URI-Referenz (der Anfragepfad) für diesen Fall.
          title: Instance
        status:
          description: Der HTTP-Statuscode.
          title: Status
          type: integer
        title:
          description: Eine kurze, menschenlesbare Zusammenfassung des Problemtyps.
          title: Title
          type: string
        type:
          default: about:blank
          description: Eine URI-Referenz, die den Problemtyp identifiziert.
          title: Type
          type: string
      required:
        - title
        - status
      title: ProblemDetail
      type: object
    CodeScanProfileSummaryResponse:
      description: Zusammenfassung eines Code-Scan-Profils ohne die zugehörigen Hinweise.
      properties:
        created_at:
          description: Zeitpunkt, zu dem das Profil erstellt wurde (Unix-Sekunden).
          title: Created At
          type: integer
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: Beschreibung des Profils, falls vorhanden.
          title: Description
        mode:
          description: 'Profilmodus: discover oder ingest.'
          enum:
            - discover
            - ingest
          title: Mode
          type: string
        name:
          description: Name des Profils.
          title: Name
          type: string
        org_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Organisation, der das Profil gehört. Null, wenn das Profil im
            gesamten Account geteilt wird.
          title: Org Id
        profile_id:
          description: Eindeutige Kennung des Profils.
          title: Profile Id
          type: string
        scan_type:
          description: Art des Scans, den das Profil konfiguriert.
          enum:
            - security
            - performance
            - db-queries
            - test-coverage
            - dead-code
            - code-quality
            - telemetry
            - accessibility
            - general
            - migration-docs
          title: Scan Type
          type: string
        visibility:
          description: >-
            Gibt an, ob das Profil einer einzelnen Organisation gehört oder im
            gesamten Account geteilt wird.
          enum:
            - org
            - account
          title: Visibility
          type: string
      required:
        - profile_id
        - name
        - description
        - visibility
        - org_id
        - scan_type
        - mode
        - created_at
      title: CodeScanProfileSummaryResponse
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Servicebenutzer-Anmeldedaten (Präfix: cog_)'
      scheme: bearer
      type: http

````