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

# Den Blueprint auf Enterprise-Ebene erstellen

> Erstellt das einzelne Blueprint auf Enterprise-Ebene.

Gibt 409 zurück, wenn für dieses Enterprise bereits ein Blueprint existiert.

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

Erfordert einen Service-Benutzer mit der Berechtigung `ManageAccountSnapshots` auf Enterprise-Ebene.

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

Erstellt den Blueprint auf Enterprise-Ebene. Ein Blueprint definiert die deklarative Umgebungskonfiguration für Devin-Sitzungen. Das Ändern eines Blueprints löst keinen Build automatisch aus — Sie müssen den Builds-Endpunkt ausdrücklich aufrufen.


## OpenAPI

````yaml de/v3-openapi.yaml POST /v3beta1/enterprise/snapshot-setup/blueprints
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/snapshot-setup/blueprints:
    post:
      tags:
        - snapshot_setup
      summary: Den Blueprint auf Enterprise-Ebene erstellen
      description: >-
        Erstellt das einzelne Blueprint auf Enterprise-Ebene.


        Gibt 409 zurück, wenn für dieses Enterprise bereits ein Blueprint
        existiert.
      operationId: >-
        create_enterprise_blueprint_endpoint_v3beta1_enterprise_snapshot_setup_blueprints_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEnterpriseBlueprintBody'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blueprint'
          description: Erfolgreiche Antwort
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validierungsfehler
components:
  schemas:
    CreateEnterpriseBlueprintBody:
      properties:
        contents:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            YAML-Body für den neuen Blueprint. Weglassen, um einen leeren
            Blueprint zu erstellen.
          title: Contents
      title: CreateEnterpriseBlueprintBody
      type: object
    Blueprint:
      description: >-
        Öffentliches Ressourcenformat für ``Blueprint``.


        Hinweis: Das Enum ``type`` kann in Zukunft erweitert werden; Clients
        MÜSSEN unbekannte Werte

        robust verarbeiten. Der YAML-Inhalt wird separat über

        ``GET /blueprints/{id}/contents`` abgerufen.
      properties:
        blueprint_id:
          title: Blueprint Id
          type: string
        created_at:
          title: Created At
          type: integer
        repo_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Name
        type:
          enum:
            - enterprise
            - org
            - repo
          title: Type
          type: string
        updated_at:
          title: Updated At
          type: integer
      required:
        - blueprint_id
        - type
        - repo_name
        - created_at
        - updated_at
      title: Blueprint
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      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

````