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

# Aufgaben der Person (Admins: des Mandanten, Erinnerungen nur gezählt)

> Aufgaben der Person (Admins: des Mandanten, Erinnerungen nur gezählt).

Im Chat mit «Mono Admin»: `betrieb_status`.



## OpenAPI

````yaml /api-reference/openapi.json get /mandanten/{id}/aufgaben
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}/aufgaben:
    get:
      tags:
        - Betrieb
      summary: 'Aufgaben der Person (Admins: des Mandanten, Erinnerungen nur gezählt)'
      description: |-
        Aufgaben der Person (Admins: des Mandanten, Erinnerungen nur gezählt).

        Im Chat mit «Mono Admin»: `betrieb_status`.
      operationId: getMandantenByIdAufgaben
      parameters:
        - name: id
          in: path
          required: true
          description: Der Mandant (seine ID auf diesem Node).
          schema:
            type: string
          example: muster-ag
        - name: project
          in: query
          required: false
          description: Nur die Aufgaben dieses Projekts.
          schema:
            type: string
        - name: scope
          in: query
          required: false
          description: >-
            «mine» (Standard) für die eigenen Aufgaben, «all» für alle, die die
            Person sehen darf.
          schema:
            type: string
            enum:
              - mine
              - all
      responses:
        '200':
          description: Erfolgreich.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AufgabenResponse'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    AufgabenResponse:
      type: object
      properties:
        aufgaben:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                minLength: 1
              source:
                type: string
                enum:
                  - erinnerung
                  - automation
                  - alarm
                  - werkstatt
                  - vertraulich
                  - prozess
                  - pendenz
              project:
                type: string
              title:
                type: string
              state:
                type: string
                enum:
                  - scheduled
                  - due
                  - approval
                  - queued
                  - waking
                  - asleep
                  - running
                  - paused
                  - done
                  - failed
                  - cancelled
              by:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                required:
                  - id
                  - name
                additionalProperties: false
              mine:
                type: boolean
              dataClass:
                type: string
                enum:
                  - öffentlich
                  - intern
                  - vertraulich
              createdAt:
                type: string
                minLength: 1
              schedule:
                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
              trigger:
                anyOf:
                  - type: object
                    properties:
                      kind:
                        type: string
                        const: scan
                      resource:
                        type: string
                    required:
                      - kind
                      - resource
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        const: file
                      resource:
                        type: string
                      folder:
                        type: string
                    required:
                      - kind
                      - resource
                      - folder
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        const: aufgabe-done
                      id:
                        type: string
                    required:
                      - kind
                      - id
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        const: approval-decided
                    required:
                      - kind
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        const: event
                      system:
                        type: string
                      event:
                        type: string
                    required:
                      - kind
                      - system
                      - event
                    additionalProperties: false
              nextAt:
                type: string
                minLength: 1
              runs:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    state:
                      type: string
                      enum:
                        - due
                        - approval
                        - queued
                        - waking
                        - asleep
                        - running
                        - done
                        - failed
                        - cancelled
                        - missed
                        - skipped
                    dueAt:
                      type: string
                      minLength: 1
                    startedAt:
                      type: string
                      minLength: 1
                    endedAt:
                      type: string
                      minLength: 1
                    phases:
                      type: array
                      items:
                        type: object
                        properties:
                          key:
                            type: string
                          at:
                            type: string
                            minLength: 1
                          'n':
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          ms:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          tokens:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          values:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties:
                              type: string
                          member:
                            type: object
                            properties:
                              appId:
                                type: string
                              appName:
                                type: string
                            required:
                              - appId
                              - appName
                            additionalProperties: false
                        required:
                          - key
                          - at
                        additionalProperties: false
                    late:
                      type: boolean
                    reason:
                      type: object
                      properties:
                        key:
                          type: string
                          minLength: 1
                        values:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties:
                            type:
                              - string
                              - number
                      required:
                        - key
                      additionalProperties: false
                    value: {}
                    held:
                      type: boolean
                    news:
                      type: object
                      properties:
                        items:
                          type: array
                          items:
                            type: string
                        count:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                      required:
                        - items
                        - count
                      additionalProperties: false
                    report:
                      type: object
                      properties:
                        text:
                          type: string
                        confirmed:
                          type: boolean
                      required:
                        - text
                        - confirmed
                      additionalProperties: false
                  required:
                    - id
                    - state
                    - dueAt
                    - phases
                  additionalProperties: false
              counts:
                type: object
                properties:
                  runs:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  failed:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  tokens:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                required:
                  - runs
                  - failed
                  - tokens
                additionalProperties: false
              reason:
                type: object
                properties:
                  key:
                    type: string
                    minLength: 1
                  values:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type:
                        - string
                        - number
                required:
                  - key
                additionalProperties: false
              held:
                type: object
                properties:
                  key:
                    type: string
                    minLength: 1
                  values:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type:
                        - string
                        - number
                required:
                  - key
                additionalProperties: false
              may:
                type: object
                properties:
                  cancel:
                    type: boolean
                  again:
                    type: boolean
                  pause:
                    type: boolean
                  resume:
                    type: boolean
                  snooze:
                    type: boolean
                  done:
                    type: boolean
                  runNow:
                    type: boolean
                  skip:
                    type: boolean
                  change:
                    type: boolean
                  continue:
                    type: boolean
                  take:
                    type: boolean
                  giveBack:
                    type: boolean
                required:
                  - cancel
                  - again
                  - pause
                  - resume
                  - snooze
                  - done
                  - runNow
                  - skip
                additionalProperties: false
              gruppe:
                type: object
                properties:
                  group:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                    additionalProperties: false
                  taken:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      at:
                        type: string
                    required:
                      - id
                      - name
                      - at
                    additionalProperties: false
                  left:
                    type: object
                    properties:
                      name:
                        type: string
                    required:
                      - name
                    additionalProperties: false
                  mine:
                    type: boolean
                  source:
                    type: string
                  ref:
                    type: object
                    properties:
                      kind:
                        type: string
                      id:
                        type: string
                    required:
                      - kind
                      - id
                    additionalProperties: false
                  outcome:
                    type: string
                required:
                  - group
                  - mine
                  - source
                  - ref
                additionalProperties: false
              withheld:
                type: boolean
              erinnerung:
                type: object
                properties:
                  text:
                    type: string
                required:
                  - text
                additionalProperties: false
              alarm:
                type: object
                properties:
                  name:
                    type: string
                  watch:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: tool
                          tool:
                            type: string
                          inputs:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties: {}
                          pick:
                            type: string
                          label:
                            type: string
                        required:
                          - kind
                          - tool
                          - inputs
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: operation
                          system:
                            type: string
                          operation:
                            type: string
                          inputs:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties: {}
                          pick:
                            type: string
                          label:
                            type: string
                        required:
                          - kind
                          - system
                          - operation
                          - inputs
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: approvals-waiting
                          olderThanHours:
                            type: number
                        required:
                          - kind
                          - olderThanHours
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: device-offline
                          connector:
                            type: string
                          forMinutes:
                            type: number
                        required:
                          - kind
                          - connector
                          - forMinutes
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: provider-failing
                          provider:
                            type: string
                        required:
                          - kind
                          - provider
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: folder-count
                          resource:
                            type: string
                          folder:
                            type: string
                        required:
                          - kind
                          - resource
                          - folder
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: legacy-rows
                          source:
                            type: string
                          table:
                            type: string
                          where:
                            type: array
                            items:
                              type: object
                              properties:
                                column:
                                  type: string
                                op:
                                  type: string
                                  enum:
                                    - gleich
                                    - enthält
                                value:
                                  type: string
                              required:
                                - column
                                - op
                                - value
                              additionalProperties: false
                        required:
                          - kind
                          - source
                          - table
                        additionalProperties: false
                  test:
                    anyOf:
                      - type: object
                        properties:
                          op:
                            type: string
                            enum:
                              - gt
                              - gte
                              - lt
                              - lte
                              - eq
                          value:
                            type: number
                        required:
                          - op
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          op:
                            type: string
                            const: changed
                        required:
                          - op
                        additionalProperties: false
                      - type: object
                        properties:
                          op:
                            type: string
                            const: nonempty
                        required:
                          - op
                        additionalProperties: false
                  lastValue: {}
                  holding:
                    type: boolean
                required:
                  - name
                  - watch
                  - test
                  - holding
                additionalProperties: false
              automation:
                type: object
                properties:
                  appId:
                    type: string
                  appName:
                    type: string
                  prompt:
                    type: string
                  runs:
                    type: boolean
                  goal:
                    type: string
                  members:
                    type: array
                    items:
                      type: object
                      properties:
                        appId:
                          type: string
                        appName:
                          type: string
                      required:
                        - appId
                        - appName
                      additionalProperties: false
                  own:
                    type: boolean
                  uses:
                    type: array
                    items:
                      type: string
                  reads:
                    type: boolean
                  watch:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: tool
                          tool:
                            type: string
                          inputs:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties: {}
                          pick:
                            type: string
                          label:
                            type: string
                        required:
                          - kind
                          - tool
                          - inputs
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: operation
                          system:
                            type: string
                          operation:
                            type: string
                          inputs:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties: {}
                          pick:
                            type: string
                          label:
                            type: string
                        required:
                          - kind
                          - system
                          - operation
                          - inputs
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: approvals-waiting
                          olderThanHours:
                            type: number
                        required:
                          - kind
                          - olderThanHours
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: device-offline
                          connector:
                            type: string
                          forMinutes:
                            type: number
                        required:
                          - kind
                          - connector
                          - forMinutes
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: provider-failing
                          provider:
                            type: string
                        required:
                          - kind
                          - provider
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: folder-count
                          resource:
                            type: string
                          folder:
                            type: string
                        required:
                          - kind
                          - resource
                          - folder
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: legacy-rows
                          source:
                            type: string
                          table:
                            type: string
                          where:
                            type: array
                            items:
                              type: object
                              properties:
                                column:
                                  type: string
                                op:
                                  type: string
                                  enum:
                                    - gleich
                                    - enthält
                                value:
                                  type: string
                              required:
                                - column
                                - op
                                - value
                              additionalProperties: false
                        required:
                          - kind
                          - source
                          - table
                        additionalProperties: false
                  test:
                    anyOf:
                      - type: object
                        properties:
                          op:
                            type: string
                            enum:
                              - gt
                              - gte
                              - lt
                              - lte
                              - eq
                          value:
                            type: number
                        required:
                          - op
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          op:
                            type: string
                            const: changed
                        required:
                          - op
                        additionalProperties: false
                      - type: object
                        properties:
                          op:
                            type: string
                            const: nonempty
                        required:
                          - op
                        additionalProperties: false
                  budget:
                    type: object
                    properties:
                      steps:
                        type: number
                      tokens:
                        type: number
                      minutes:
                        type: number
                    required:
                      - steps
                      - tokens
                      - minutes
                    additionalProperties: false
                required:
                  - appId
                  - appName
                  - prompt
                additionalProperties: false
              werkstatt:
                type: object
                properties:
                  kind:
                    type: string
                  app:
                    type: object
                    properties:
                      system:
                        type: string
                      systemName:
                        type: string
                      operation:
                        type: string
                    required:
                      - system
                      - systemName
                      - operation
                    additionalProperties: false
                  family:
                    type: string
                    enum:
                      - video
                      - bild
                      - rendern
                      - druck
                      - dokumente
                      - cad
                      - schnitt
                  device:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      site:
                        type: string
                    required:
                      - id
                      - name
                    additionalProperties: false
                  inputs:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties: {}
                  position:
                    type: integer
                    minimum: 1
                    maximum: 9007199254740991
                  progress:
                    type: object
                    properties:
                      done:
                        type: number
                        minimum: 0
                      total:
                        type: number
                        minimum: 0
                      unit:
                        type: string
                        enum:
                          - frame
                          - second
                          - page
                          - file
                          - percent
                    required:
                      - done
                      - total
                      - unit
                    additionalProperties: false
                  queueMs:
                    type: number
                    minimum: 0
                  runMs:
                    type: number
                    minimum: 0
                  output:
                    type: object
                    properties:
                      resource:
                        type: string
                      folder:
                        type: string
                      files:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            bytes:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - name
                            - bytes
                          additionalProperties: false
                    required:
                      - resource
                      - folder
                      - files
                    additionalProperties: false
                  previews:
                    type: array
                    items:
                      type: object
                      properties:
                        'n':
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        kind:
                          type: string
                          enum:
                            - thumb
                            - sheet
                            - poster
                            - strip
                            - screen
                        mime:
                          type: string
                          enum:
                            - image/webp
                            - image/jpeg
                            - image/png
                        width:
                          type: integer
                          minimum: 1
                          maximum: 9007199254740991
                        height:
                          type: integer
                          minimum: 1
                          maximum: 9007199254740991
                        bytes:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                      required:
                        - 'n'
                        - kind
                        - mime
                        - width
                        - height
                        - bytes
                      additionalProperties: false
                  previewsWithheld:
                    type: boolean
                  log:
                    type: string
                required:
                  - kind
                  - family
                  - device
                  - inputs
                  - previews
                additionalProperties: false
              vertraulich:
                type: object
                properties:
                  action:
                    type: string
                    enum:
                      - zusammenfassen
                      - extrahieren
                      - vergleichen
                      - uebersetzen
                      - beantworten
                      - entwerfen
                      - ueberarbeiten
                  name:
                    type: string
                  sources:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - ablage
                            - scan
                            - altsystem
                            - wissen
                            - system
                            - dienst
                            - ergebnis
                        label:
                          type: string
                      required:
                        - kind
                        - label
                      additionalProperties: false
                  target:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: mono
                        required:
                          - kind
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            const: ablage
                          share:
                            type: string
                          folder:
                            type: string
                        required:
                          - kind
                          - share
                          - folder
                        additionalProperties: false
                  app:
                    type: string
                  language:
                    type: string
                  model:
                    type: object
                    properties:
                      provider:
                        type: string
                      locality:
                        type: string
                        enum:
                          - lokal
                          - eigene-cloud
                          - ch-eu
                          - weltweit
                    required:
                      - provider
                      - locality
                    additionalProperties: false
                  position:
                    type: integer
                    minimum: 1
                    maximum: 9007199254740991
                  code:
                    type: string
                    enum:
                      - model_none
                      - model_waiting
                      - model_unavailable
                      - model_timeout
                      - model_unresponsive
                      - model_error
                      - source_waiting
                      - source_unavailable
                      - source_refused
                      - rights_lost
                      - limit_reached
                      - budget
                      - deadline
                      - cancelled
                      - file_waiting
                      - file_failed
                      - file_refused
                  waited:
                    type: boolean
                    const: true
                  long:
                    type: boolean
                    const: true
                  netOpen:
                    type: boolean
                    const: true
                  progress:
                    type: object
                    properties:
                      phase:
                        type: string
                        enum:
                          - sources
                          - model
                          - filing
                      source:
                        type: integer
                        minimum: 1
                        maximum: 9007199254740991
                      of:
                        type: integer
                        minimum: 1
                        maximum: 9007199254740991
                      elapsedMs:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                    required:
                      - phase
                      - of
                      - elapsedMs
                    additionalProperties: false
                  start:
                    type: object
                    properties:
                      approval:
                        type: string
                      session:
                        type: boolean
                      folder:
                        type: string
                      client:
                        type: string
                      netOpen:
                        type: boolean
                        const: true
                    required:
                      - approval
                      - session
                    additionalProperties: false
                  revises:
                    type: string
                  neutral:
                    type: boolean
                    const: true
                  result:
                    type: object
                    properties:
                      kept:
                        type: boolean
                      until:
                        type: string
                        minLength: 1
                      deletedAt:
                        type: string
                        minLength: 1
                      filed:
                        type: object
                        properties:
                          share:
                            type: string
                          path:
                            type: string
                          at:
                            type: string
                            minLength: 1
                        required:
                          - share
                          - path
                          - at
                        additionalProperties: false
                      filing:
                        type: string
                      device:
                        type: object
                        properties:
                          name:
                            type: string
                          lastSeen:
                            type: string
                            minLength: 1
                          offline:
                            type: boolean
                            const: true
                        required:
                          - name
                        additionalProperties: false
                    required:
                      - kept
                    additionalProperties: false
                required:
                  - action
                  - name
                  - sources
                  - target
                additionalProperties: false
            required:
              - id
              - source
              - title
              - state
              - by
              - mine
              - dataClass
              - createdAt
              - runs
              - counts
              - may
            additionalProperties: false
        notices:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              source:
                type: string
                enum:
                  - erinnerung
                  - automation
                  - alarm
                  - werkstatt
                  - vertraulich
                  - prozess
                  - pendenz
              kind:
                type: string
                enum:
                  - due
                  - fired
                  - done
                  - failed
                  - paused
              title:
                type: string
              at:
                type: string
                minLength: 1
              runId:
                type: string
              file:
                type: string
              prompt:
                type: string
              result:
                type: string
              value: {}
              news:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: string
                  count:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                required:
                  - items
                  - count
                additionalProperties: false
              reason:
                type: object
                properties:
                  key:
                    type: string
                    minLength: 1
                  values:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type:
                        - string
                        - number
                required:
                  - key
                additionalProperties: false
            required:
              - id
              - source
              - kind
              - title
              - at
            additionalProperties: false
        werkstatt:
          type: object
          properties:
            devices:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            kinds:
              type: array
              items:
                type: string
          required:
            - devices
            - kinds
          additionalProperties: false
        privateCounts:
          type: object
          properties:
            erinnerung:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            vertraulich:
              type: integer
              minimum: 0
              maximum: 9007199254740991
          required:
            - erinnerung
          additionalProperties: false
        confidential:
          type: object
          properties:
            available:
              type: boolean
          required:
            - available
          additionalProperties: false
        work:
          type: object
          properties:
            runs:
              type: boolean
            apps:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                required:
                  - id
                  - name
                additionalProperties: false
          required:
            - runs
            - apps
          additionalProperties: false
        role:
          type: string
          enum:
            - admin
            - member
            - partner
        now:
          type: string
          minLength: 1
        viewer:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
            - name
          additionalProperties: false
        watchable:
          type: object
          properties:
            legacy:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  tables:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        columns:
                          type: array
                          items:
                            type: string
                      required:
                        - name
                        - columns
                      additionalProperties: false
                required:
                  - name
                  - tables
                additionalProperties: false
            tools:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  title:
                    type: string
                  input:
                    type: string
                required:
                  - name
                  - title
                additionalProperties: false
          required:
            - legacy
          additionalProperties: false
      required:
        - aufgaben
        - notices
        - werkstatt
        - role
        - now
        - viewer
      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:
    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.