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

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Werkstatt eines Geräts ändern oder auf Standard

> Werkstatt eines Geräts ändern oder auf Standard.

Im Chat mit «Mono Admin»: .



## OpenAPI

````yaml /api-reference/openapi.json put /mandanten/{id}/werkstatt/{connector}
openapi: 3.1.0
info:
  title: Console-API des Node
  version: v1
  summary: Die API, mit der die Mono Console einen Node liest und ändert.
  description: >-
    Jeder Node hat diese API unter `/api/v1`. Die Mono Console, die Desktop-App
    und «Mono Admin» im Chat nutzen dieselben Regeln und dasselbe Audit.


    **Anmeldung:** Jede Anfrage trägt einen Bearer-Token, den der Node selbst
    ausstellt (OpenID Connect mit PKCE, Client `mono-console`). Ein Token gilt
    für die Person: Sie sehen und ändern nur, was diese Person darf.


    **Antworten:** JSON. Eine Ablehnung ist `{ error, message }` mit einem Satz
    auf Deutsch. Jede Änderung steht im Audit, nie ein Inhalt.


    Diese Referenz ist aus dem Code erzeugt (`pnpm docs:gen`). Eine Antwort oder
    ein Körper ohne Schema heisst: Der Code beweist die Form nicht an einer
    Stelle, die der Generator lesen kann.
servers:
  - url: https://ki.muster.example/api/v1
    description: 'Ein Node (Beispiel: Muster AG)'
  - url: http://127.0.0.1:8787/api/v1
    description: Ein Node auf diesem Gerät (`pnpm dev:gateway`)
security:
  - bearer: []
tags:
  - name: Übersicht
    x-displayName: Übersicht
    description: >-
      Wer angemeldet ist, die MCP-Server, die Einrichtung und die gemessenen
      Kennzahlen.
  - name: Inbox
    x-displayName: Inbox
    description: >-
      Freigaben, «Immer erlauben» und die Aufgaben auf den Geräten des
      Mandanten.
  - name: Studio
    x-displayName: Studio
    description: Standard-Apps, eigene Apps, Skill-Packs und die CI.
  - name: Konnektoren
    x-displayName: Konnektoren
    description: >-
      Microsoft 365 und Google Workspace, Systeme über ihre Adresse und die Mono
      Connectors.
  - name: Zugriff
    x-displayName: Zugriff
    description: >-
      Anmeldung, Gruppen und Rollen, Einladungen und die Kunden eines
      IT-Partners.
  - name: Gateway
    x-displayName: Gateway
    description: KI-Clients, Tools, Modelle, Datenwege, Kosten, Kanäle und das Audit.
  - name: Betrieb
    x-displayName: Betrieb
    description: Updates, die eigene Adresse, das Netzwerk und die Mandantennotizen.
  - name: Profil
    x-displayName: Profil
    description: 'Das eigene Konto der Person: Zustimmungen, Sprache, Foto und Passkeys.'
paths:
  /mandanten/{id}/werkstatt/{connector}:
    put:
      tags:
        - Konnektoren
      summary: Werkstatt eines Geräts ändern oder auf Standard
      description: |-
        Werkstatt eines Geräts ändern oder auf Standard.

        Im Chat mit «Mono Admin»: .
      operationId: putMandantenByIdWerkstattByConnector
      parameters:
        - name: id
          in: path
          required: true
          description: Der Mandant (seine ID auf diesem Node).
          schema:
            type: string
          example: muster-ag
        - name: connector
          in: path
          required: true
          description: Der Mono Connector der Werkstatt.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WerkstattPutBody'
      responses:
        '200':
          description: Erfolgreich.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WerkstattDeviceResponse'
        '400':
          $ref: '#/components/responses/Fehler400'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    WerkstattPutBody:
      type: object
      properties:
        standard:
          type: boolean
          const: true
        'on':
          type: boolean
        outputResource:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
        outputFolder:
          type: string
          minLength: 1
          maxLength: 120
        ramBudgetMb:
          anyOf:
            - type: integer
              minimum: 256
              maximum: 4194304
            - type: 'null'
        waker:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
        projects:
          maxItems: 20
          type: array
          items:
            type: string
            pattern: ^[\p{L}\p{N}][\p{L}\p{N} ._-]{0,59}$
        kinds:
          type: object
          propertyNames:
            type: string
            maxLength: 40
          additionalProperties:
            anyOf:
              - type: string
                const: standard
              - type: object
                properties:
                  'on':
                    type: boolean
                  dataClass:
                    type: string
                    enum:
                      - öffentlich
                      - intern
                      - vertraulich
                  groups:
                    anyOf:
                      - type: string
                        const: all
                      - minItems: 1
                        maxItems: 20
                        type: array
                        items:
                          type: string
                          minLength: 1
                          maxLength: 120
                additionalProperties: false
      additionalProperties: false
    WerkstattDeviceResponse:
      type: object
      properties:
        device:
          type: object
          properties:
            connector:
              type: string
            name:
              type: string
            site:
              type: string
            online:
              type: boolean
            info:
              type: object
              properties:
                tools:
                  type: array
                  items:
                    type: object
                    properties:
                      tool:
                        type: string
                        enum:
                          - ffmpeg
                          - vips
                          - blender
                          - slicer-bambu
                          - slicer-orca
                          - ocrmypdf
                          - fusion360
                          - resolve
                      version:
                        type: string
                      ready:
                        type: boolean
                      edition:
                        type: string
                        enum:
                          - studio
                          - free
                    required:
                      - tool
                      - version
                      - ready
                    additionalProperties: false
                memoryMb:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                lists:
                  type: object
                  propertyNames:
                    type: string
                    enum:
                      - printers
                      - filaments
                      - renderPresets
                  additionalProperties:
                    type: array
                    items:
                      type: string
                wakeMac:
                  type: string
                canWake:
                  type: boolean
                kinds:
                  type: array
                  items:
                    type: string
              required:
                - tools
                - memoryMb
                - lists
                - canWake
              additionalProperties: false
            settings:
              type: object
              properties:
                'on':
                  type: boolean
                outputResource:
                  type:
                    - string
                    - 'null'
                outputFolder:
                  type: string
                ramBudgetMb:
                  anyOf:
                    - type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                    - type: 'null'
                waker:
                  type:
                    - string
                    - 'null'
                kinds:
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties:
                    type: object
                    properties:
                      'on':
                        type: boolean
                      dataClass:
                        type: string
                        enum:
                          - öffentlich
                          - intern
                          - vertraulich
                      groups:
                        anyOf:
                          - type: string
                            const: all
                          - type: array
                            items:
                              type: string
                    additionalProperties: false
                projects:
                  type: array
                  items:
                    type: string
              required:
                - 'on'
                - outputResource
                - outputFolder
                - ramBudgetMb
                - waker
                - kinds
              additionalProperties: false
            kinds:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  policy:
                    type: object
                    properties:
                      'on':
                        type: boolean
                      dataClass:
                        type: string
                        enum:
                          - öffentlich
                          - intern
                          - vertraulich
                      groups:
                        anyOf:
                          - type: string
                            const: all
                          - type: array
                            items:
                              type: string
                    required:
                      - 'on'
                      - dataClass
                      - groups
                    additionalProperties: false
                  angepasst:
                    type: boolean
                required:
                  - id
                  - policy
                  - angepasst
                additionalProperties: false
            queue:
              type: object
              properties:
                running:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                queued:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
              required:
                - running
                - queued
              additionalProperties: false
            durations:
              type: array
              items:
                type: object
                properties:
                  kind:
                    type: string
                  medianMs:
                    type: number
                    minimum: 0
                  'n':
                    type: integer
                    minimum: 1
                    maximum: 9007199254740991
                required:
                  - kind
                  - medianMs
                  - 'n'
                additionalProperties: false
            wake:
              type: object
              properties:
                schedule:
                  anyOf:
                    - anyOf:
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: once
                            date:
                              type: string
                              pattern: ^\d{4}-\d{2}-\d{2}$
                            time:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - date
                            - time
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: daily
                            time:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - time
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: weekdays
                            time:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - time
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: weekly
                            days:
                              minItems: 1
                              maxItems: 7
                              type: array
                              items:
                                anyOf:
                                  - type: number
                                    const: 1
                                  - type: number
                                    const: 2
                                  - type: number
                                    const: 3
                                  - type: number
                                    const: 4
                                  - type: number
                                    const: 5
                                  - type: number
                                    const: 6
                                  - type: number
                                    const: 7
                            time:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            everyWeeks:
                              anyOf:
                                - type: number
                                  const: 2
                                - type: number
                                  const: 3
                                - type: number
                                  const: 4
                            from:
                              type: string
                              pattern: ^\d{4}-\d{2}-\d{2}$
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - days
                            - time
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: monthly
                            day:
                              anyOf:
                                - type: integer
                                  minimum: 1
                                  maximum: 31
                                - type: string
                                  const: last-workday
                                - type: object
                                  properties:
                                    nth:
                                      anyOf:
                                        - type: number
                                          const: 1
                                        - type: number
                                          const: 2
                                        - type: number
                                          const: 3
                                        - type: number
                                          const: 4
                                        - type: number
                                          const: -1
                                    weekday:
                                      anyOf:
                                        - type: number
                                          const: 1
                                        - type: number
                                          const: 2
                                        - type: number
                                          const: 3
                                        - type: number
                                          const: 4
                                        - type: number
                                          const: 5
                                        - type: number
                                          const: 6
                                        - type: number
                                          const: 7
                                  required:
                                    - nth
                                    - weekday
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    workday:
                                      type: integer
                                      minimum: 1
                                      maximum: 20
                                  required:
                                    - workday
                                  additionalProperties: false
                            time:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            everyMonths:
                              anyOf:
                                - type: number
                                  const: 2
                                - type: number
                                  const: 3
                                - type: number
                                  const: 4
                                - type: number
                                  const: 6
                                - type: number
                                  const: 12
                            from:
                              type: string
                              pattern: ^\d{4}-\d{2}-\d{2}$
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - day
                            - time
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              const: interval
                            minutes:
                              type: integer
                              minimum: 5
                              maximum: 720
                            from:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            to:
                              type: string
                              pattern: ^([01]\d|2[0-3]):([0-5]\d)$
                            workdaysOnly:
                              type: boolean
                            tz:
                              description: >-
                                IANA-Zone der Person, z. B. Europe/Zurich; ohne:
                                ihre eigene Zone
                              type: string
                            skipHolidays:
                              type: boolean
                            canton:
                              description: >-
                                Kanton der Feiertage, z. B. «ZH»; ohne: nur die
                                Feiertage aller Kantone
                              type: string
                              enum:
                                - AG
                                - AI
                                - AR
                                - BE
                                - BL
                                - BS
                                - FR
                                - GE
                                - GL
                                - GR
                                - JU
                                - LU
                                - NE
                                - NW
                                - OW
                                - SG
                                - SH
                                - SO
                                - SZ
                                - TG
                                - TI
                                - UR
                                - VD
                                - VS
                                - ZG
                                - ZH
                            workdayShift:
                              description: >-
                                Fällt der Tag auf ein Wochenende oder einen
                                Feiertag: next = nächster Werktag, previous =
                                Werktag davor
                              type: string
                              enum:
                                - next
                                - previous
                          required:
                            - kind
                            - minutes
                            - from
                            - to
                            - workdaysOnly
                          additionalProperties: false
                    - type: 'null'
                canSchedule:
                  type: boolean
                lastAt:
                  type: string
                  minLength: 1
                lastMs:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
              required:
                - schedule
                - canSchedule
              additionalProperties: false
          required:
            - connector
            - name
            - online
            - info
            - settings
            - kinds
            - queue
            - durations
          additionalProperties: false
      required:
        - device
      additionalProperties: false
    Fehler:
      type: object
      description: >-
        Eine Ablehnung: ein fester Code und ein Satz auf Deutsch, der sagt, was
        zu tun ist.
      properties:
        error:
          type: string
          description: Der Code (`not_found`, `forbidden`, `invalid_input` …).
          examples:
            - forbidden
        message:
          type: string
          description: Der Grund in Worten.
          examples:
            - Nur für Admins dieses Mandanten
        reason:
          type: string
          description: Ein fester Code für den Grund, wo es einen gibt.
          examples:
            - admins_only
      required:
        - error
        - message
  responses:
    Fehler400:
      description: Die Eingabe passt nicht. `message` sagt, was fehlt.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler401:
      description: 'Anmeldung nötig: Der Bearer-Token fehlt oder gilt nicht mehr.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler403:
      description: Die Person darf das nicht (zum Beispiel nur Admins des Mandanten).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler404:
      description: Das Objekt ist auf diesem Node nicht bekannt.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Ein Access-Token des Node. Die Console holt ihn über die Anmeldung des
        Node (`/oauth/authorize`, PKCE, Client `mono-console`); in der
        Entwicklung nimmt ein Node mit Dev-Anmeldung auch einen Dev-Token.

````

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