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

# Devin Connect-Gateways auflisten

> Die Gateways des Kontos mit den jeweils darüber gerouteten Zielen.

Gibt die [Devin Connect](https://docs.devin.ai/de/enterprise/deployment/devin-connect.md)-Gateways des Enterprise sowie die Ziele zurück, an die das jeweilige Gateway weiterleitet. Verwenden Sie die `gateway_id` eines Gateways für [Gateway-Ziele hinzufügen](https://docs.devin.ai/de/api-reference/v3/devin-connect/post-enterprise-devin-connect-gateway-destinations.md), [Gateway-Ziele entfernen](https://docs.devin.ai/de/api-reference/v3/devin-connect/delete-enterprise-devin-connect-gateway-destinations.md) oder [Gateway-Ziele ersetzen](https://docs.devin.ai/de/api-reference/v3/devin-connect/put-enterprise-devin-connect-gateway-destinations.md).

## Berechtigungen

Erfordert einen [Service-Benutzer](https://docs.devin.ai/de/api-reference/v3/service-users/members-service-users.md) oder ein [persönliches Zugriffstoken](https://docs.devin.ai/de/api-reference/personal-access-tokens.md) mit der Berechtigung `ManageEnterpriseSettings` auf Enterprise-Ebene. Devin Connect muss für das Enterprise aktiviert sein, andernfalls gibt der Endpunkt `403` zurück.

## Verhalten

* Die Ergebnisse sind paginiert. Übergeben Sie `first` (Seitengröße) und `after` (den `end_cursor` der vorherigen Seite), solange `has_next_page` den Wert `true` hat.
* `kind` ist `tunnel`, wenn sich das Gateway des Kunden einwählt, oder `direct`, wenn sich Devin beim Gateway einwählt (zum Beispiel über AWS PrivateLink). Bei Tunnel-Gateways zeigen `connected` und `last_connected_at` an, ob sich das Gateway kürzlich gemeldet hat. Bei direkten Gateways sind beide Werte `null`.
* Gateways werden in der Web-App erstellt, registriert und gelöscht. Über diese API lassen sich Gateways lediglich auslesen und ihre Ziele ändern.


## OpenAPI

````yaml de/v3-openapi.yaml GET /v3beta1/enterprise/devin-connect/gateways
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:
  /v3beta1/enterprise/devin-connect/gateways:
    get:
      tags:
        - devin-connect
      summary: Devin Connect-Gateways auflisten
      description: Die Gateways des Kontos mit den jeweils darüber gerouteten Zielen.
      operationId: >-
        handle_list_devin_connect_gateways_v3beta1_enterprise_devin_connect_gateways_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
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_DevinConnectGateway_'
          description: Erfolgreiche Antwort
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht authentifiziert
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Zugriff verweigert
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht gefunden
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Konflikt
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht mehr verfügbar
        '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_DevinConnectGateway_:
      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/DevinConnectGateway'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Optionale Gesamtanzahl (kann aus Leistungsgründen weggelassen
            werden).
          title: Total
      required:
        - items
      title: PaginatedResponse[DevinConnectGateway]
      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
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Maschinenlesbarer Code für die Ablehnung blockierter Aktionen (z. B.
            "user_frozen", "migrated_session").
          title: Error Code
        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
    DevinConnectGateway:
      description: >-
        Ein Devin Connect-Gateway und die Ziele, zu denen der Datenverkehr
        darüber geleitet wird.
      properties:
        connected:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Ob ein Tunnel-Gateway derzeit verbunden ist; null bei direct
          title: Connected
        destinations:
          description: Ziele, zu denen der Datenverkehr über dieses Gateway geleitet wird
          items:
            $ref: '#/components/schemas/DevinConnectDestination'
          title: Destinations
          type: array
        gateway_id:
          description: Gateway-ID
          title: Gateway Id
          type: string
        kind:
          description: >-
            tunnel: Das Kundengateway stellt die Verbindung her; direct: Devin
            stellt die Verbindung zum Gateway her (z. B. über AWS PrivateLink)
          enum:
            - tunnel
            - direct
          title: Kind
          type: string
        last_connected_at:
          anyOf:
            - type: integer
            - type: 'null'
          description: Zeitpunkt der letzten Meldung eines Tunnel-Gateways
          title: Last Connected At
        name:
          description: Gateway-Name
          title: Name
          type: string
      required:
        - gateway_id
        - name
        - kind
        - destinations
      title: DevinConnectGateway
      type: object
    DevinConnectDestination:
      description: 'Ein Ziel: entweder ``hostname`` oder ``ipv4``, aber nicht beides.'
      properties:
        hostname:
          anyOf:
            - type: string
            - type: 'null'
          description: Exakter DNS-Name (keine Platzhalter), z. B. git.corp.example
          title: Hostname
        ipv4:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            IPv4-Adresse oder CIDR-Präfix, z. B. 10.20.0.0/16; eine Adresse ohne
            Präfix wird als /32 behandelt
          title: Ipv4
      title: DevinConnectDestination
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Servicebenutzer-Anmeldedaten (Präfix: cog_)'
      scheme: bearer
      type: http

````

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