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

# Einen Prozess ändern: Modell, Checkliste, Übergeben, Zielbild, Stufen, Anhalten, Archivieren – «vorher → nachher», auditiert

> Einen Prozess ändern: Modell, Checkliste, Übergeben, Zielbild, Stufen, Anhalten, Archivieren – «vorher → nachher», auditiert.

Im Chat mit «Mono Admin»: .



## OpenAPI

````yaml /api-reference/openapi.json post /mandanten/{id}/prozesse/{pid}/actions
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}/prozesse/{pid}/actions:
    post:
      tags:
        - Studio
      summary: >-
        Einen Prozess ändern: Modell, Checkliste, Übergeben, Zielbild, Stufen,
        Anhalten, Archivieren – «vorher → nachher», auditiert
      description: >-
        Einen Prozess ändern: Modell, Checkliste, Übergeben, Zielbild, Stufen,
        Anhalten, Archivieren – «vorher → nachher», auditiert.


        Im Chat mit «Mono Admin»: .
      operationId: postMandantenByIdProzesseByPidActions
      parameters:
        - name: id
          in: path
          required: true
          description: Der Mandant (seine ID auf diesem Node).
          schema:
            type: string
          example: muster-ag
        - name: pid
          in: path
          required: true
          description: Die ID.
          schema:
            type: string
        - name: lang
          in: query
          required: false
          description: >-
            Die Sprache, in der die Console die Sätze des Servers zeigt
            (Standard: die Sprache der Person, sonst «Accept-Language») – in der
            Kartenvorschau die Sprache, in der die Karte gezeichnet wird.
          schema:
            type: string
            enum:
              - de-CH
              - fr-CH
              - it-CH
              - rm-CH
              - en
          example: en
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProzessAktionBody'
      responses:
        '200':
          description: >-
            Erfolgreich. Die Form der Antwort beschreibt diese Referenz noch
            nicht.
          content:
            application/json: {}
        '400':
          $ref: '#/components/responses/Fehler400'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    ProzessAktionBody:
      oneOf:
        - type: object
          properties:
            action:
              type: string
              const: aendern
            version:
              type: integer
              minimum: 1
              maximum: 9007199254740991
            name:
              type: string
              minLength: 1
              maxLength: 200
            zweck:
              type: string
              maxLength: 2000
            ausloeser:
              oneOf:
                - type: object
                  properties:
                    kind:
                      type: string
                      const: manuell
                  required:
                    - kind
                  additionalProperties: false
                - type: object
                  properties:
                    kind:
                      type: string
                      const: zeitplan
                    text:
                      type: string
                      minLength: 1
                      maxLength: 200
                  required:
                    - kind
                    - text
                  additionalProperties: false
                - type: object
                  properties:
                    kind:
                      type: string
                      const: ereignis
                    text:
                      type: string
                      minLength: 1
                      maxLength: 200
                    system:
                      type: string
                      maxLength: 200
                  required:
                    - kind
                    - text
                  additionalProperties: false
            schritt:
              type: object
              properties:
                id:
                  type: string
                  pattern: ^[\w.:-]{1,120}$
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                rolle:
                  type: string
                  maxLength: 120
                beschreibung:
                  type: string
                  maxLength: 2000
                abnahme:
                  type: string
                  maxLength: 2000
                ausfuehrend:
                  anyOf:
                    - type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - person
                            - gruppe
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                        name:
                          type: string
                          minLength: 1
                          maxLength: 200
                      required:
                        - kind
                        - id
                        - name
                      additionalProperties: false
                    - type: 'null'
                bindungen:
                  maxItems: 20
                  type: array
                  items:
                    type: object
                    properties:
                      system:
                        type: string
                        minLength: 1
                        maxLength: 200
                      operation:
                        type: string
                        minLength: 1
                        maxLength: 200
                      wirkung:
                        type: string
                        enum:
                          - liest
                          - schreibt
                          - loescht
                          - sendet
                          - bucht
                      klasse:
                        type: string
                        enum:
                          - A
                          - B
                          - C
                      eingaben:
                        default: {}
                        type: object
                        propertyNames:
                          type: string
                          maxLength: 120
                        additionalProperties:
                          type: string
                          maxLength: 500
                      fakten:
                        default: {}
                        type: object
                        propertyNames:
                          type: string
                          maxLength: 120
                        additionalProperties:
                          type: string
                          enum:
                            - amountChf
                            - recipients
                            - deletes
                      schemaDigest:
                        type: string
                        maxLength: 128
                      rueckLesen:
                        type: object
                        properties:
                          schluessel:
                            type: string
                            minLength: 1
                            maxLength: 120
                          felder:
                            minItems: 1
                            maxItems: 50
                            type: array
                            items:
                              type: string
                              minLength: 1
                              maxLength: 120
                          storno:
                            type: object
                            properties:
                              feld:
                                type: string
                                minLength: 1
                                maxLength: 120
                              werte:
                                minItems: 1
                                maxItems: 20
                                type: array
                                items:
                                  type: string
                                  minLength: 1
                                  maxLength: 120
                            required:
                              - feld
                              - werte
                            additionalProperties: false
                        required:
                          - schluessel
                          - felder
                        additionalProperties: false
                      rueckgaengig:
                        type: object
                        properties:
                          operation:
                            type: string
                            minLength: 1
                            maxLength: 200
                          schluessel:
                            type: string
                            minLength: 1
                            maxLength: 120
                        required:
                          - operation
                          - schluessel
                        additionalProperties: false
                    required:
                      - system
                      - operation
                      - wirkung
                    additionalProperties: false
                eingaben:
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 200
                regeln:
                  maxItems: 20
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: text
                          text:
                            type: string
                            minLength: 1
                            maxLength: 2000
                        required:
                          - kind
                          - text
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: skill
                          skill:
                            type: string
                            minLength: 1
                            maxLength: 200
                        required:
                          - kind
                          - skill
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: frist
                          regel:
                            type: string
                            minLength: 1
                            maxLength: 200
                        required:
                          - kind
                          - regel
                        additionalProperties: false
                next:
                  maxItems: 50
                  type: array
                  items:
                    type: object
                    properties:
                      nach:
                        type: string
                        pattern: ^[\w.:-]{1,120}$
                      bedingung:
                        type: string
                        maxLength: 200
                    required:
                      - nach
                    additionalProperties: false
              required:
                - id
              additionalProperties: false
            beteiligte:
              maxItems: 50
              type: array
              items:
                type: object
                properties:
                  rolle:
                    type: string
                    minLength: 1
                    maxLength: 120
                  wer:
                    maxItems: 50
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - person
                            - gruppe
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                        name:
                          type: string
                          minLength: 1
                          maxLength: 200
                      required:
                        - kind
                        - id
                        - name
                      additionalProperties: false
                  vertretung:
                    maxItems: 20
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - person
                            - gruppe
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                        name:
                          type: string
                          minLength: 1
                          maxLength: 200
                      required:
                        - kind
                        - id
                        - name
                      additionalProperties: false
                required:
                  - rolle
                  - wer
                additionalProperties: false
            beispiele:
              maxItems: 20
              type: array
              items:
                type: object
                properties:
                  system:
                    type: string
                    maxLength: 200
                  ref:
                    type: string
                    minLength: 1
                    maxLength: 500
                  titel:
                    type: string
                    minLength: 1
                    maxLength: 200
                required:
                  - system
                  - ref
                  - titel
                additionalProperties: false
            quelle:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                zweck:
                  type: string
                  maxLength: 2000
                schritte:
                  minItems: 1
                  maxItems: 200
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^[\w.:-]{1,120}$
                      name:
                        type: string
                        minLength: 1
                        maxLength: 200
                      art:
                        type: string
                        enum:
                          - aufgabe
                          - entscheidung
                          - warten
                          - teilprozess
                          - start
                          - ende
                      rolle:
                        type: string
                        maxLength: 120
                      beschreibung:
                        type: string
                        maxLength: 2000
                      system:
                        type: string
                        maxLength: 200
                      next:
                        default: []
                        maxItems: 50
                        type: array
                        items:
                          type: object
                          properties:
                            nach:
                              type: string
                              pattern: ^[\w.:-]{1,120}$
                            bedingung:
                              type: string
                              maxLength: 200
                          required:
                            - nach
                          additionalProperties: false
                      quelle:
                        type: object
                        properties:
                          anlage:
                            type: string
                            maxLength: 80
                          element:
                            type: string
                            maxLength: 200
                          seite:
                            type: integer
                            minimum: 1
                            maximum: 10000
                          box:
                            type: array
                            prefixItems:
                              - type: number
                              - type: number
                              - type: number
                              - type: number
                            items: false
                            minItems: 4
                            maxItems: 4
                          segment:
                            type: object
                            properties:
                              von:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              bis:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                            required:
                              - von
                              - bis
                            additionalProperties: false
                        additionalProperties: false
                      teilprozess:
                        type: string
                        maxLength: 200
                    required:
                      - id
                      - name
                      - art
                    additionalProperties: false
                ausloeser:
                  oneOf:
                    - type: object
                      properties:
                        kind:
                          type: string
                          const: manuell
                      required:
                        - kind
                      additionalProperties: false
                    - type: object
                      properties:
                        kind:
                          type: string
                          const: zeitplan
                        text:
                          type: string
                          minLength: 1
                          maxLength: 200
                      required:
                        - kind
                        - text
                      additionalProperties: false
                    - type: object
                      properties:
                        kind:
                          type: string
                          const: ereignis
                        text:
                          type: string
                          minLength: 1
                          maxLength: 200
                        system:
                          type: string
                          maxLength: 200
                      required:
                        - kind
                        - text
                      additionalProperties: false
                quelle:
                  type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - datei
                        - text
                        - sprache
                        - chat
                        - vorlage
                    anlage:
                      type: string
                      maxLength: 80
                    gelesenVon:
                      type: string
                      enum:
                        - mono
                        - client
                    am:
                      type: string
                      minLength: 1
                      maxLength: 40
                  required:
                    - kind
                    - gelesenVon
                  additionalProperties: false
                hinweise:
                  default: []
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    maxLength: 300
              required:
                - name
                - schritte
                - quelle
              additionalProperties: false
          required:
            - action
            - version
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: antworten
            punkt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            antwort:
              type: object
              properties:
                text:
                  type: string
                  maxLength: 2000
                wahl:
                  type: string
                  minLength: 1
                  maxLength: 200
                datei:
                  type: string
                  maxLength: 80
                pfad:
                  type: string
                  maxLength: 1000
              additionalProperties: false
          required:
            - action
            - punkt
            - antwort
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: nicht_noetig
            punkt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            grund:
              type: string
              minLength: 1
              maxLength: 300
          required:
            - action
            - punkt
            - grund
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: uebergeben
            an:
              minItems: 1
              maxItems: 20
              type: array
              items:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                      - person
                      - gruppe
                  id:
                    type: string
                    minLength: 1
                    maxLength: 200
                  name:
                    type: string
                    minLength: 1
                    maxLength: 200
                required:
                  - kind
                  - id
                  - name
                additionalProperties: false
            punkte:
              maxItems: 500
              type: array
              items:
                type: string
                pattern: ^[\w.:-]{1,120}$
            rolle:
              type: string
              maxLength: 120
          required:
            - action
            - an
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: zielbild
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            ziel:
              type: string
              enum:
                - assist
                - prepare
                - approve
                - guarded
            grund:
              type: string
              maxLength: 300
          required:
            - action
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: aufsteigen
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            leitplanken:
              maxItems: 20
              type: array
              items:
                type: string
                minLength: 1
                maxLength: 300
          required:
            - action
            - schritt
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: absteigen
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            grund:
              type: string
              maxLength: 300
          required:
            - action
            - schritt
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: stufe4_anfragen
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
          required:
            - action
            - schritt
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: leitplanke
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
            regel:
              type: string
              maxLength: 500
            entfernen:
              type: string
              maxLength: 500
          required:
            - action
            - schritt
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: tor
            tor:
              anyOf:
                - type: object
                  properties:
                    standard:
                      type: object
                      properties:
                        prepare:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                        approve:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                        guarded:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                      additionalProperties: false
                    selten:
                      type: object
                      properties:
                        prepare:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                        approve:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                        guarded:
                          type: object
                          properties:
                            'n':
                              type: integer
                              minimum: 1
                              maximum: 1000
                            tage:
                              type: integer
                              minimum: 1
                              maximum: 365
                            quote:
                              type: number
                              minimum: 0
                              maximum: 1
                          additionalProperties: false
                      additionalProperties: false
                    vierAugen:
                      type: boolean
                  additionalProperties: false
                - type: 'null'
            fuer:
              type: string
              enum:
                - prozess
                - mandant
          required:
            - action
            - tor
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: anhalten
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
          required:
            - action
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: fortsetzen
            schritt:
              type: string
              pattern: ^[\w.:-]{1,120}$
          required:
            - action
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: als_app
          required:
            - action
          additionalProperties: false
        - type: object
          properties:
            action:
              type: string
              const: archivieren
          required:
            - action
          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.