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

# «Lokal aktuell»: Themen mit Quelle, Verfügbarkeit für den Sitz, letztem Abruf und Einträgen (ADR-0082 § 5)

> «Lokal aktuell»: Themen mit Quelle, Verfügbarkeit für den Sitz, letztem Abruf und Einträgen (ADR-0082 § 5).

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



## OpenAPI

````yaml /api-reference/openapi.json get /mandanten/{id}/lokal
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}/lokal:
    get:
      tags:
        - Studio
      summary: >-
        «Lokal aktuell»: Themen mit Quelle, Verfügbarkeit für den Sitz, letztem
        Abruf und Einträgen (ADR-0082 § 5)
      description: >-
        «Lokal aktuell»: Themen mit Quelle, Verfügbarkeit für den Sitz, letztem
        Abruf und Einträgen (ADR-0082 § 5).


        Im Chat mit «Mono Admin»: `studio_overview`.
      operationId: getMandantenByIdLokal
      parameters:
        - name: id
          in: path
          required: true
          description: Der Mandant (seine ID auf diesem Node).
          schema:
            type: string
          example: muster-ag
      responses:
        '200':
          description: Erfolgreich.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LokalView'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    LokalView:
      type: object
      properties:
        topics:
          type: array
          items:
            type: object
            properties:
              topic:
                type: string
                enum:
                  - abstimmungen
                  - lawinen
                  - waldbrand
                  - fedlex
              'on':
                type: boolean
              changedBy:
                anyOf:
                  - type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                    additionalProperties: false
                  - type: 'null'
              changedAt:
                anyOf:
                  - type: string
                    minLength: 1
                  - type: 'null'
              source:
                type: object
                properties:
                  name:
                    type: string
                  url:
                    type: string
                    format: uri
                  terms:
                    type: string
                    format: uri
                required:
                  - name
                  - url
                  - terms
                additionalProperties: false
              available:
                type: boolean
              reason:
                type:
                  - string
                  - 'null'
              reasonSaid:
                type: array
                items:
                  type: object
                  properties:
                    code:
                      type: string
                      maxLength: 60
                    vars:
                      type: object
                      propertyNames:
                        type: string
                      additionalProperties:
                        type: string
                  required:
                    - code
                  additionalProperties: false
              suggested:
                type: boolean
              note:
                type:
                  - string
                  - 'null'
              noteSaid:
                type: array
                items:
                  type: object
                  properties:
                    code:
                      type: string
                      maxLength: 60
                    vars:
                      type: object
                      propertyNames:
                        type: string
                      additionalProperties:
                        type: string
                  required:
                    - code
                  additionalProperties: false
              fetchedAt:
                anyOf:
                  - type: string
                    minLength: 1
                  - type: 'null'
              error:
                type:
                  - string
                  - 'null'
              errorSaid:
                type: array
                items:
                  type: object
                  properties:
                    code:
                      type: string
                      maxLength: 60
                    vars:
                      type: object
                      propertyNames:
                        type: string
                      additionalProperties:
                        type: string
                  required:
                    - code
                  additionalProperties: false
              items:
                maxItems: 20
                type: array
                items:
                  type: object
                  properties:
                    topic:
                      type: string
                      enum:
                        - abstimmungen
                        - lawinen
                        - waldbrand
                        - fedlex
                    title:
                      type: string
                      minLength: 1
                      maxLength: 200
                    text:
                      type: string
                      maxLength: 600
                    url:
                      type: string
                      format: starts_with
                      pattern: ^https:\/\/.*
                    source:
                      type: string
                      minLength: 1
                      maxLength: 80
                    stand:
                      anyOf:
                        - type: string
                          minLength: 1
                        - type: 'null'
                    validUntil:
                      anyOf:
                        - type: string
                          minLength: 1
                        - type: 'null'
                    region:
                      anyOf:
                        - type: string
                          maxLength: 120
                        - type: 'null'
                    level:
                      anyOf:
                        - type: integer
                          minimum: 1
                          maximum: 5
                        - type: 'null'
                  required:
                    - topic
                    - title
                    - text
                    - url
                    - source
                    - stand
                    - validUntil
                    - region
                    - level
                  additionalProperties: false
              places:
                default: []
                maxItems: 11
                type: array
                items:
                  type: object
                  properties:
                    seat:
                      type: boolean
                    sites:
                      maxItems: 10
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 80
                    region:
                      anyOf:
                        - type: string
                          enum:
                            - CH-AG
                            - CH-AI
                            - CH-AR
                            - CH-BE
                            - CH-BL
                            - CH-BS
                            - CH-FR
                            - CH-GE
                            - CH-GL
                            - CH-GR
                            - CH-JU
                            - CH-LU
                            - CH-NE
                            - CH-NW
                            - CH-OW
                            - CH-SG
                            - CH-SH
                            - CH-SO
                            - CH-SZ
                            - CH-TG
                            - CH-TI
                            - CH-UR
                            - CH-VD
                            - CH-VS
                            - CH-ZG
                            - CH-ZH
                            - DE-BW
                            - DE-BY
                            - DE-BE
                            - DE-BB
                            - DE-HB
                            - DE-HH
                            - DE-HE
                            - DE-MV
                            - DE-NI
                            - DE-NW
                            - DE-RP
                            - DE-SL
                            - DE-SN
                            - DE-ST
                            - DE-SH
                            - DE-TH
                            - AT-1
                            - AT-2
                            - AT-3
                            - AT-4
                            - AT-5
                            - AT-6
                            - AT-7
                            - AT-8
                            - AT-9
                            - IT-21
                            - IT-23
                            - IT-25
                            - IT-BZ
                            - IT-TN
                            - IT-34
                            - IT-36
                            - IT-42
                            - IT-45
                            - IT-52
                            - IT-55
                            - IT-57
                            - IT-62
                            - IT-65
                            - IT-67
                            - IT-72
                            - IT-75
                            - IT-77
                            - IT-78
                            - IT-82
                            - IT-88
                        - type: 'null'
                    national:
                      type: boolean
                    note:
                      type:
                        - string
                        - 'null'
                    noteSaid:
                      type: array
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            maxLength: 60
                          vars:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties:
                              type: string
                        required:
                          - code
                        additionalProperties: false
                    items:
                      maxItems: 10
                      type: array
                      items:
                        type: object
                        properties:
                          topic:
                            type: string
                            enum:
                              - abstimmungen
                              - lawinen
                              - waldbrand
                              - fedlex
                          title:
                            type: string
                            minLength: 1
                            maxLength: 200
                          text:
                            type: string
                            maxLength: 600
                          url:
                            type: string
                            format: starts_with
                            pattern: ^https:\/\/.*
                          source:
                            type: string
                            minLength: 1
                            maxLength: 80
                          stand:
                            anyOf:
                              - type: string
                                minLength: 1
                              - type: 'null'
                          validUntil:
                            anyOf:
                              - type: string
                                minLength: 1
                              - type: 'null'
                          region:
                            anyOf:
                              - type: string
                                maxLength: 120
                              - type: 'null'
                          level:
                            anyOf:
                              - type: integer
                                minimum: 1
                                maximum: 5
                              - type: 'null'
                        required:
                          - topic
                          - title
                          - text
                          - url
                          - source
                          - stand
                          - validUntil
                          - region
                          - level
                        additionalProperties: false
                  required:
                    - seat
                    - sites
                    - region
                    - national
                    - note
                    - items
                  additionalProperties: false
            required:
              - topic
              - 'on'
              - changedBy
              - changedAt
              - source
              - available
              - reason
              - suggested
              - note
              - fetchedAt
              - error
              - items
              - places
            additionalProperties: false
        location:
          anyOf:
            - type: object
              properties:
                country:
                  type: string
                  pattern: ^[A-Z]{2}$
                region:
                  type: string
                  enum:
                    - CH-AG
                    - CH-AI
                    - CH-AR
                    - CH-BE
                    - CH-BL
                    - CH-BS
                    - CH-FR
                    - CH-GE
                    - CH-GL
                    - CH-GR
                    - CH-JU
                    - CH-LU
                    - CH-NE
                    - CH-NW
                    - CH-OW
                    - CH-SG
                    - CH-SH
                    - CH-SO
                    - CH-SZ
                    - CH-TG
                    - CH-TI
                    - CH-UR
                    - CH-VD
                    - CH-VS
                    - CH-ZG
                    - CH-ZH
                    - DE-BW
                    - DE-BY
                    - DE-BE
                    - DE-BB
                    - DE-HB
                    - DE-HH
                    - DE-HE
                    - DE-MV
                    - DE-NI
                    - DE-NW
                    - DE-RP
                    - DE-SL
                    - DE-SN
                    - DE-ST
                    - DE-SH
                    - DE-TH
                    - AT-1
                    - AT-2
                    - AT-3
                    - AT-4
                    - AT-5
                    - AT-6
                    - AT-7
                    - AT-8
                    - AT-9
                    - IT-21
                    - IT-23
                    - IT-25
                    - IT-BZ
                    - IT-TN
                    - IT-34
                    - IT-36
                    - IT-42
                    - IT-45
                    - IT-52
                    - IT-55
                    - IT-57
                    - IT-62
                    - IT-65
                    - IT-67
                    - IT-72
                    - IT-75
                    - IT-77
                    - IT-78
                    - IT-82
                    - IT-88
                gemeinde:
                  type: object
                  properties:
                    bfs:
                      type: integer
                      minimum: 1
                      maximum: 9999
                    name:
                      type: string
                      minLength: 1
                      maxLength: 80
                    sprache:
                      type: string
                      enum:
                        - de
                        - fr
                        - it
                        - rm
                  required:
                    - bfs
                    - name
                  additionalProperties: false
                sites:
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                        maxLength: 80
                      region:
                        type: string
                        enum:
                          - CH-AG
                          - CH-AI
                          - CH-AR
                          - CH-BE
                          - CH-BL
                          - CH-BS
                          - CH-FR
                          - CH-GE
                          - CH-GL
                          - CH-GR
                          - CH-JU
                          - CH-LU
                          - CH-NE
                          - CH-NW
                          - CH-OW
                          - CH-SG
                          - CH-SH
                          - CH-SO
                          - CH-SZ
                          - CH-TG
                          - CH-TI
                          - CH-UR
                          - CH-VD
                          - CH-VS
                          - CH-ZG
                          - CH-ZH
                          - DE-BW
                          - DE-BY
                          - DE-BE
                          - DE-BB
                          - DE-HB
                          - DE-HH
                          - DE-HE
                          - DE-MV
                          - DE-NI
                          - DE-NW
                          - DE-RP
                          - DE-SL
                          - DE-SN
                          - DE-ST
                          - DE-SH
                          - DE-TH
                          - AT-1
                          - AT-2
                          - AT-3
                          - AT-4
                          - AT-5
                          - AT-6
                          - AT-7
                          - AT-8
                          - AT-9
                          - IT-21
                          - IT-23
                          - IT-25
                          - IT-BZ
                          - IT-TN
                          - IT-34
                          - IT-36
                          - IT-42
                          - IT-45
                          - IT-52
                          - IT-55
                          - IT-57
                          - IT-62
                          - IT-65
                          - IT-67
                          - IT-72
                          - IT-75
                          - IT-77
                          - IT-78
                          - IT-82
                          - IT-88
                      gemeinde:
                        type: object
                        properties:
                          bfs:
                            type: integer
                            minimum: 1
                            maximum: 9999
                          name:
                            type: string
                            minLength: 1
                            maxLength: 80
                          sprache:
                            type: string
                            enum:
                              - de
                              - fr
                              - it
                              - rm
                        required:
                          - bfs
                          - name
                        additionalProperties: false
                    required:
                      - name
                    additionalProperties: false
              required:
                - country
              additionalProperties: false
            - type: 'null'
        canEdit:
          type: boolean
        lock:
          type:
            - string
            - 'null'
        lockSaid:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                maxLength: 60
              vars:
                type: object
                propertyNames:
                  type: string
                additionalProperties:
                  type: string
            required:
              - code
            additionalProperties: false
      required:
        - topics
        - location
        - canEdit
        - lock
      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.