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

# Builds für die org auflisten

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

Erfordert einen Service-Benutzer mit der Berechtigung `ManageRepoBlueprints` auf Ebene der Organisation.


## OpenAPI

````yaml de/v3-openapi.yaml GET /v3beta1/organizations/{org_id}/snapshot-setup/builds
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/organizations/{org_id}/snapshot-setup/builds:
    get:
      tags:
        - snapshot_setup
      summary: Builds für die org auflisten
      operationId: list_org_builds_v3beta1_organizations__org_id__snapshot_setup_builds_get
      parameters:
        - description: 'Organisations-ID (Präfix: org-)'
          in: path
          name: org_id
          required: true
          schema:
            example: org-abc123def456
            title: Org Id
            type: string
        - in: query
          name: qs
          required: true
          schema:
            $ref: '#/components/schemas/CursorPaginationParams'
        - description: Nach dem Spezifikationsstatus filtern.
          in: query
          name: status
          required: false
          schema:
            anyOf:
              - enum:
                  - pending
                  - running
                  - succeeded
                  - failed
                  - cancelled
                type: string
              - type: 'null'
            description: Nach dem Spezifikationsstatus filtern.
            title: Status
        - description: >-
            Wenn „true“, werden 0 oder 1 Einträge zurückgegeben: der Build,
            dessen Image derzeit für neue Sitzungen verwendet wird.
          in: query
          name: active
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: >-
              Wenn „true“, werden 0 oder 1 Einträge zurückgegeben: der Build,
              dessen Image derzeit für neue Sitzungen verwendet wird.
            title: Active
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_Build_'
          description: Erfolgreiche Antwort
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validierungsfehler
components:
  schemas:
    CursorPaginationParams:
      properties:
        after:
          anyOf:
            - type: string
            - type: 'null'
          title: After
        first:
          default: 100
          maximum: 200
          minimum: 1
          title: First
          type: integer
      title: CursorPaginationParams
      type: object
    PaginatedResponse_Build_:
      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 Eintrag verfügbar sind.
          title: Has Next Page
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/Build'
          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[Build]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    Build:
      description: >-
        Öffentliches Ressourcenformat für ``Build`` — eine opake Sicht auf „war
        dies schon erfolgreich?“.


        Laut Spezifikation wird keine Introspektion auf
        Plattform-/Snapshot-/Job-Ebene offengelegt. Künftige

        Erweiterungen (``triggered_by_repo``, Build-Metadaten usw.) sind
        additiv.
      properties:
        build_id:
          title: Build Id
          type: string
        completed_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Completed At
        created_at:
          title: Created At
          type: integer
        pinned:
          title: Pinned
          type: boolean
        started_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Started At
        status:
          enum:
            - pending
            - running
            - succeeded
            - failed
            - cancelled
          title: Status
          type: string
        trigger:
          anyOf:
            - enum:
                - manual
                - auto
              type: string
            - type: 'null'
          title: Trigger
        triggered_by_user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Triggered By User Id
        updated_at:
          title: Updated At
          type: integer
      required:
        - build_id
        - status
        - trigger
        - triggered_by_user_id
        - pinned
        - started_at
        - completed_at
        - created_at
        - updated_at
      title: Build
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Servicebenutzer-Anmeldedaten (Präfix: cog_)'
      scheme: bearer
      type: http

````