Juniper Mist AI Sites Stats - Devices API

API Calls to retrieve statistics about the Mist Managed and Monitored Devices at the Site level

OpenAPI Specification

mist-ai-sites-stats-devices-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  contact:
    email: tmunzer@juniper.net
    name: Thomas Munzer
  description: '> Version: **2604.1.1**

    >

    > Date: **May 13, 2026**

    <div class="notification"> NOTE:<br>Some important API changes will be introduced. Please make sure to read the <a href="https://www.juniper.net/documentation/us/en/software/mist/api/http/guides/important-api-changes">announcements</a> </div>


    ---

    ## Additional Documentation

    * [Mist Automation Guide](https://www.juniper.net/documentation/us/en/software/mist/automation-integration/index.html)

    * [Mist Location SDK](https://www.juniper.net/documentation/us/en/software/mist/location-services/topics/concept/mist-how-get-mist-sdk.html)

    * [Mist Product Updates](https://www.juniper.net/documentation/us/en/software/mist/product-updates/)


    ## Helpful Resources

    * [API Sandbox and Exercises](https://api-class.mist.com/)

    * [Postman Collection, Runners and Webhook Samples](https://www.postman.com/juniper-mist/workspace/mist-systems-s-public-workspace)

    * [Python Script Examples](https://github.com/tmunzer/mist_library)

    * [API Demo Apps](https://apps.mist-lab.fr/)

    * [Juniper Blog](https://blogs.juniper.net/)


    ## Mist Web Browser Extension:

    * Google Chrome, Microsoft Edge and other Chromium-based browser: [Chrome Web Store](https://chromewebstore.google.com/detail/mist-extension/ejhpdcljeamillfhdihkkmoakanpbplh)

    * Firefox: [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/mist-extension/)


    ---'
  license:
    name: MIT
    url: https://raw.githubusercontent.com/tmunzer/Mist-OAS3.0/main/LICENSE
  title: Mist Admins Sites Stats - Devices API
  version: 2604.1.1
  x-logo:
    altText: Juniper-MistAI
    backgroundColor: '#FFFFFF'
    url: https://www.mist.com/wp-content/uploads/logo.png
servers:
- description: Mist Global 01
  url: https://api.mist.com
- description: Mist Global 02
  url: https://api.gc1.mist.com
- description: Mist Global 03
  url: https://api.ac2.mist.com
- description: Mist Global 04
  url: https://api.gc2.mist.com
- description: Mist Global 05
  url: https://api.gc4.mist.com
- description: Mist EMEA 01
  url: https://api.eu.mist.com
- description: Mist EMEA 02
  url: https://api.gc3.mist.com
- description: Mist EMEA 03
  url: https://api.ac6.mist.com
- description: Mist EMEA 04
  url: https://api.gc6.mist.com
- description: Mist APAC 01
  url: https://api.ac5.mist.com
- description: Mist APAC 02
  url: https://api.gc5.mist.com
- description: Mist APAC 03
  url: https://api.gc7.mist.com
security:
- apiToken: []
- basicAuth: []
- basicAuth: []
  csrfToken: []
tags:
- description: API Calls to retrieve statistics about the Mist Managed and Monitored Devices at the Site level
  name: Sites Stats - Devices
paths:
  /api/v1/sites/{site_id}/stats/devices:
    parameters:
    - $ref: '#/components/parameters/site_id'
    get:
      description: Get List of Site Devices Stats
      operationId: listSiteDevicesStats
      parameters:
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/device_type_with_all'
      - in: query
        name: status
        schema:
          $ref: '#/components/schemas/stat_device_status_filter'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          $ref: '#/components/responses/DevicesArrayStatsSite'
        '400':
          $ref: '#/components/responses/HTTP400'
        '401':
          $ref: '#/components/responses/HTTP401'
        '403':
          $ref: '#/components/responses/HTTP403'
        '404':
          $ref: '#/components/responses/HTTP404'
        '429':
          $ref: '#/components/responses/HTTP429'
      summary: listSiteDevicesStats
      tags:
      - Sites Stats - Devices
  /api/v1/sites/{site_id}/stats/devices/{device_id}:
    parameters:
    - $ref: '#/components/parameters/site_id'
    - $ref: '#/components/parameters/device_id'
    get:
      description: Get Site Device Stats Details
      operationId: getSiteDeviceStats
      parameters:
      - $ref: '#/components/parameters/fields'
      responses:
        '200':
          $ref: '#/components/responses/DeviceStats'
        '400':
          $ref: '#/components/responses/HTTP400'
        '401':
          $ref: '#/components/responses/HTTP401'
        '403':
          $ref: '#/components/responses/HTTP403'
        '404':
          $ref: '#/components/responses/HTTP404'
        '429':
          $ref: '#/components/responses/HTTP429'
      summary: getSiteDeviceStats
      tags:
      - Sites Stats - Devices
  /api/v1/sites/{site_id}/stats/devices/{device_id}/clients:
    parameters:
    - $ref: '#/components/parameters/site_id'
    - $ref: '#/components/parameters/device_id'
    get:
      description: Get wireless client stat by Device
      operationId: getSiteAllClientsStatsByDevice
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stats_wireless_clients'
          description: OK
        '400':
          $ref: '#/components/responses/HTTP400'
        '401':
          $ref: '#/components/responses/HTTP401'
        '403':
          $ref: '#/components/responses/HTTP403'
        '404':
          $ref: '#/components/responses/HTTP404'
        '429':
          $ref: '#/components/responses/HTTP429'
      summary: getSiteAllClientsStatsByDevice
      tags:
      - Sites Stats - Devices
  /api/v1/sites/{site_id}/stats/gateways/metrics:
    parameters:
    - $ref: '#/components/parameters/site_id'
    get:
      description: Get Site Gateway Metrics
      operationId: getSiteGatewayMetrics
      responses:
        '200':
          $ref: '#/components/responses/GatewayMetrics'
        '400':
          $ref: '#/components/responses/HTTP400'
        '401':
          $ref: '#/components/responses/HTTP401'
        '403':
          $ref: '#/components/responses/HTTP403'
        '404':
          $ref: '#/components/responses/HTTP404'
        '429':
          $ref: '#/components/responses/HTTP429'
      summary: getSiteGatewayMetrics
      tags:
      - Sites Stats - Devices
  /api/v1/sites/{site_id}/stats/switches/metrics:
    parameters:
    - $ref: '#/components/parameters/site_id'
    get:
      description: Get version compliance metrics for managed or monitored switches
      operationId: getSiteSwitchesMetrics
      parameters:
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/switch_metric_type'
      - in: query
        name: scope
        schema:
          $ref: '#/components/schemas/switch_metric_scope'
      - description: Switch mac, used only with metric `type`==`active_ports_summary`
        in: query
        name: switch_mac
        schema:
          examples:
          - 5c5b350e0410
          type: string
      responses:
        '200':
          $ref: '#/components/responses/SwitchMetrics'
        '400':
          $ref: '#/components/responses/HTTP400'
        '401':
          $ref: '#/components/responses/HTTP401'
        '403':
          $ref: '#/components/responses/HTTP403'
        '404':
          $ref: '#/components/responses/HTTP404'
        '429':
          $ref: '#/components/responses/HTTP429'
      summary: getSiteSwitchesMetrics
      tags:
      - Sites Stats - Devices
components:
  examples:
    DevicesArrayStatsSiteGatewayStats:
      value:
      - arp_table_stats:
          arp_table_count: 21
          max_entries_supported: 64000
        auto_upgrade_stat:
          lastcheck: 1720595477
        cert_expiry: 1743292763
        cluster_config:
          configuration: active-active
          control_link_info:
            name: fxp1
            status: Up
          ethernet_connection:
          - name: reth0
            status: Up
          - name: reth1
            status: Up
          - name: reth2
            status: Down
          - name: reth3
            status: Down
          - name: reth4
            status: Up
          fabric_link_info:
            DataPlaneNotifiedStatus: Up
            Interface: []
            InternalStatus: Up
            State: Enabled
            Status: Enabled
          last_status_change_reason: No failures
          operational: active-active
          primary_node_health: Healthy
          redundancy_group_information:
          - Id: 0
            MonitoringFailure: none
            Threshold: 255
          - Id: 1
            MonitoringFailure: interface-monitoring
            Threshold: 0
          - Id: 2
            MonitoringFailure: none
            Threshold: 255
          secondary_node_health: Not healthy
          status: Green
        config_status: COMMITED
        config_timestamp: 1720182848
        config_version: 1720182848
        cpu2_stat:
          idle: 86
          interrupt: 0
          load_avg:
          - 0.13
          - 0.17
          - 0.16
          system: 5
          user: 9
        cpu_stat:
          idle: 76
          interrupt: 0
          load_avg:
          - 0.18
          - 0.31
          - 0.39
          system: 10
          user: 14
        created_time: 1711756611
        deviceprofile_id: 5e5daedf-e650-4013-b41c-845f0d2b9414
        deviceprofile_name: wan_srx_tor_hub1
        dhcpd_stat:
          byod_dc1:
            num_ips: 100
            num_leased: 0
          corp_dc1:
            num_ips: 100
            num_leased: 4
          guest_dc1:
            num_ips: 241
            num_leased: 0
          iot_dc1:
            num_ips: 100
            num_leased: 0
          mgmt_dc1:
            num_ips: 100
            num_leased: 2
          teleworker:
            num_ips: 140
            num_leased: 0
        ext_ip: 69.196.157.189
        fwupdate:
          progress: 100
          status: upgraded
          status_id: 3037
          timestamp: 1718392692.580769
          will_retry: false
        has_pcap: false
        hostname: wan_srx_tor_hub1-srx
        id: 00000000-0000-0000-1000-4db14e107134
        if_stat:
          ge-0/0/5.130:
            address_mode: Unknown
            nat_addresses: []
            network_name: ''
            port_id: ge-0/0/5
            port_usage: lan
            rx_bytes: 0
            rx_pkts: 0
            tx_bytes: 0
            tx_pkts: 0
            up: true
            vlan: 0
          ge-1/0/5.120:
            address_mode: Unknown
            nat_addresses: []
            network_name: ''
            port_id: ge-1/0/5
            port_usage: lan
            rx_bytes: 0
            rx_pkts: 0
            tx_bytes: 0
            tx_pkts: 0
            up: true
            vlan: 0
        ip: 69.196.157.190
        ip_stat:
          gateway: 69.196.157.185
          ip: 69.196.157.190
          ips:
            vlan1: 69.196.157.190,69.196.157.190
          netmask: 255.255.255.255
        is_ha: true
        last_seen: 1720598726
        mac: 4db14e107134
        mac_table_stats:
          mac_table_count: 0
          max_mac_entries_supported: 160000
        memory2_stat:
          usage: 32
        memory_stat:
          usage: 39
        model: SRX300
        modified_time: 1720092942
        module2_stat:
        - backup_version: 21.2R3-S7.7
          fans: []
          last_seen: 1720598717
          mac: ec38739270c0
          model: SRX300
          psus:
          - name: Power Supply 0
            status: ok
          recovery_version: 21.2R3-S7.7
          serial: CV2218AF1505
          status: connected
          temperatures:
          - celsius: 49
            name: Routing Engine
            status: ok
          - celsius: 64
            name: Routing Engine CPU
            status: ok
          uptime: 580964
          vc_links:
          - neighbor_module_idx: 0
            neighbor_port_id: fxp1
            port_id: fxp1
          vc_role: secondary
          vc_state: active
          version: 21.2R3-S6.11
        module_stat:
        - backup_version: 21.2R3-S7.7
          fans: []
          last_seen: 1720598716.999985
          mac: 4db14e107134
          model: SRX300
          psus:
          - name: Power Supply 0
            status: ok
          recovery_version: 21.2R3-S7.7
          serial: CV0219AN0335
          status: connected
          temperatures:
          - celsius: 49
            name: Routing Engine
            status: ok
          - celsius: 65
            name: Routing Engine CPU
            status: ok
          uptime: 1945193
          vc_links:
          - neighbor_module_idx: 1
            neighbor_port_id: fxp1
            port_id: fxp1
          vc_role: primary
          vc_state: active
          version: 21.2R3-S6.11
        name: wan_srx_tor_hub1-srx
        org_id: af010e2b-f829-4975-b49e-2e896ed1d627
        route_summary_stats:
          fib_routes: 0
          max_unicast_routes_supported: 1240000
          rib_routes: 0
          total_routes: 0
        serial: CV0219AN0335
        service_stat: {}
        service_status:
          appid_status: enabled
          appid_version: 3720
          ewf_status: disabled
          idp_install_result: successful
          idp_install_timestamp: '2024-07-10T06:29:11.708164029Z'
          idp_status: disabled
          idp_update_timestamp: '2024-07-10T06:28:28.567046244Z'
        site_id: 83c31971-ad70-4419-ae20-7f2b90748986
        spu2_stat:
        - spu_cpu: 0
          spu_current_session: 39
          spu_max_session: 32768
          spu_memory: 31
          spu_pending_session: 0
          spu_uptime: 1944572
          spu_valid_session: 0
        spu_stat:
        - spu_cpu: 1
          spu_current_session: 47
          spu_max_session: 32768
          spu_memory: 34
          spu_pending_session: 0
          spu_uptime: 1944572
          spu_valid_session: 0
        status: connected
        tag_id: 3550217
        tag_uuid: af010e2b-f829-4975-b49e-2e896ed1d627
        type: gateway
        uptime: 581259
        version: 21.2R3-S6.11
    HTTP403Example:
      value:
        detail: You do not have permission to perform this action.
    DevicesArrayStatsSiteAccessPointStats:
      value:
      - auto_upgrade_stat:
          lastcheck: 1720594762
        ble_stat:
          beacon_enabled: true
          beacon_rate: 4
          eddystone_uid_enabled: false
          eddystone_uid_freq_msec: 1000
          eddystone_uid_instance: 5c5b35d0077b
          eddystone_uid_namespace: 9777c1a06ef611e68bbf
          eddystone_url_enabled: false
          eddystone_url_freq_msec: 1000
          eddystone_url_url: ''
          ibeacon_enabled: false
          ibeacon_freq_msec: 1000
          ibeacon_major: 894
          ibeacon_minor: 9328
          ibeacon_uuid: af010e2b-f829-4975-b49e-2e896ed1d627
          major: 894
          minors:
          - 9328
          - 9329
          - 9330
          - 9331
          - 9332
          - 9333
          - 9334
          - 9335
          - -1
          power: 8
          rx_bytes: 158500843
          rx_pkts: 3549163
          tx_bytes: 509640
          tx_pkts: 85411
          tx_resets: 0
          uuid: af010e2b-f829-4975-b49e-2e896ed1d627
        config_reverted: false
        cpu_system: 21921854
        cpu_user: 7496631
        cpu_util: 5
        created_time: 1718228350
        env_stat:
          accel_x: -0.092
          accel_y: 0.004
          accel_z: -1.02
          ambient_temp: 43
          attitude: 0
          cpu_temp: 53
          humidity: 9
          magne_x: 0
          magne_y: 0
          magne_z: 0
          pressure: 968
          vcore_voltage: 0
        ext_ip: 66.129.234.28
        hw_rev: C02
        id: 00000000-0000-0000-1000-5c5b35d0077b
        inactive_wired_vlans: []
        ip: 192.168.95.3
        ip_stat:
          dhcp_server: 192.168.95.1
          dns:
          - 8.8.8.8
          gateway: 192.168.95.1
          ip: 192.168.95.3
          ip6: fe80:0:0:0:5e5b:35ff:fed0:77b
          ips:
            vlan1: 192.168.95.3/24,fe80:0:0:0:5e5b:35ff:fed0:77b/64
          netmask: 255.255.255.0
          netmask6: /64
        last_seen: 1720595866
        last_trouble:
          code: '07'
          timestamp: 1720039666
        lldp_stat:
          chassis_id: d0:07:ca:f5:21:00
          lldp_med_supported: false
          mgmt_addr: 100.123.105.1
          mgmt_addrs:
          - 100.123.105.1
          port_desc: ge-0/0/4
          port_id: ge-0/0/4
          power_allocated: 0
          power_draw: 0
          power_request_count: 0
          power_requested: 0
          system_desc: 'Juniper Networks, Inc. ex4300-48t internet router, kernel JUNOS 20.4R3-S7.2, Build date: 2023-04-21 19:47:18 UTC Copyright (c) 1996-2023 Juniper Networks, Inc.'
          system_name: Phoenix-Switch
        mac: 5c5b35d0077b
        mem_total_kb: 505468
        mem_used_kb: 202096
        model: AP43
        modified_time: 1718530662
        mount: faceup
        name: Phoenix
        notes: ''
        num_clients: 1
        org_id: af010e2b-f829-4975-b49e-2e896ed1d627
        port_stat:
          eth0:
            full_duplex: true
            rx_bytes: 1284143195
            rx_errors: 0
            rx_peak_bps: 17585
            rx_pkts: 5199816
            speed: 1000
            tx_bytes: 1283744961
            tx_peak_bps: 26484
            tx_pkts: 3990463
            up: true
          eth1:
            full_duplex: false
            rx_bytes: 0
            rx_errors: 0
            rx_peak_bps: 0
            rx_pkts: 0
            speed: 0
            tx_bytes: 0
            tx_peak_bps: 0
            tx_pkts: 0
            up: false
        power_budget: 8400
        power_constrained: false
        power_src: DC Input
        radio_config: {}
        radio_stat:
          band_24:
            bandwidth: 20
            channel: 11
            mac: 5c5b35dea810
            noise_floor: -80
            num_clients: 0
            power: 17
            rx_bytes: 12948211
            rx_pkts: 65292
            tx_bytes: 19071943
            tx_pkts: 76926
            usage: '24'
            util_all: 24
            util_non_wifi: 2
            util_rx_in_bss: 0
            util_rx_other_bss: 17
            util_tx: 4
            util_undecodable_wifi: 0
            util_unknown_wifi: 1
          band_5:
            bandwidth: 40
            channel: 36
            mac: 5c5b35dea7f0
            noise_floor: -90
            num_clients: 1
            power: 17
            rx_bytes: 578362619
            rx_pkts: 2687577
            tx_bytes: 1199571353
            tx_pkts: 2479302
            usage: '5'
            util_all: 13
            util_non_wifi: 0
            util_rx_in_bss: 0
            util_rx_other_bss: 10
            util_tx: 1
            util_undecodable_wifi: 0
            util_unknown_wifi: 1
        rx_bps: 9276
        rx_bytes: 591310830
        rx_pkts: 2752869
        serial: A0703200709E6
        site_id: 46fc665e-9706-4296-8fe2-78f42f2e67e4
        status: connected
        switch_redundancy:
          num_redundant_aps: 1
        tx_bps: 8067
        tx_bytes: 1218643296
        tx_pkts: 2556228
        type: ap
        uptime: 1593120
        version: 0.14.29313
    DevicesArrayStatsSiteSwitch:
      value:
      - ap_redundancy:
          num_aps: 1
          num_aps_with_switch_redundancy: 1
        arp_table_stats:
          arp_table_count: 16
          max_entries_supported: 32000
        auto_upgrade_stat:
          lastcheck: 1720600596
        cert_expiry: 1743932274
        clients:
        - device_mac: 0912f561b653
          mac: 001132f5ad23
          port_id: ge-1/0/11
        clients_stats:
          total:
            num_aps:
            - 0
            - 0
            num_wired_clients: 13
        config_status: COMMITED
        config_timestamp: 1720552389
        config_version: 1720552389
        cpu_stat:
          idle: 74
          interrupt: 0
          load_avg:
          - 0.8
          - 0.75
          - 0.78
          system: 13
          user: 13
        created_time: 1712346090
        dhcpd_stat:
          ifo:
            num_ips: 5
            num_leased: 0
        ext_ip: 153.142.221.41
        fw_versions_outofsync: false
        fwupdate:
          progress: 100
          status: upgraded
          status_id: 3037
          timestamp: 1712409702.9714448
          will_retry: false
        has_pcap: true
        hostname: SW-HLAB-ea2e00
        hw_rev: A
        id: 00000000-0000-0000-1000-0912f561b653
        if_stat:
          ge-0/0/5.0:
            port_id: ge-0/0/5
            rx_bytes: 0
            rx_pkts: 78110
            tx_bytes: 0
            tx_pkts: 61037
            up: true
          ge-1/0/0.0:
            port_id: ge-1/0/0
            rx_bytes: 0
            rx_pkts: 56415
            tx_bytes: 0
            tx_pkts: 72209
            up: true
          irb.172:
            ips:
            - 10.3.172.41/24
            port_id: irb
            rx_bytes: 0
            rx_pkts: 1291755
            servp_info: {}
            tx_bytes: 0
            tx_pkts: 990327
            up: true
            vlan: 172
          vme.0:
            port_id: vme
            rx_bytes: 0
            rx_pkts: 0
            tx_bytes: 0
            tx_pkts: 0
            up: true
        ip: 10.3.10.10
        ip_stat:
          gateway: 10.3.172.9
          ip: 10.3.10.10
          ips:
            vlan172: 10.3.172.41
          netmask: 255.255.255.255
        last_seen: 1720601189
        last_trouble:
          code: '103'
          timestamp: 1712412455215
        mac: 0912f561b653
        mac_table_stats:
          mac_table_count: 58
          max_mac_entries_supported: 64000
        memory_stat:
          usage: 16
        model: EX4100-F-12P
        modified_time: 1720552388
        module_stat:
        - boot_partition: junos
          cpu_stat:
            idle: 74
            interrupt: 0
            load_avg:
            - 0.8
            - 0.75
            - 0.78
            system: 13
            user: 13
          fpc_idx: 0
          mac: 0912f561b653
          memory_stat:
            usage: 16
          model: EX4100-F-12P
          pics:
          - index: 0
            model_number: EX4100-F-12P
            port_groups:
            - count: 12
              type: GE
          - index: 1
            model_number: EX4100-F-12P
            port_groups:
            - count: 4
              type: SFP/SFP+
          - index: 2
            model_number: EX4100-F-12P
            port_groups:
            - count: 2
              type: GE
          poe:
            max_power: 180
            power_draw: 7.3
          psus:
          - name: Power Supply 0
            status: ok
          - name: Power Supply 1
            status: absent
          - name: Power Supply 2
            status: absent
          serial: FJ0324AV0077
          temperatures:
          - celsius: 51
            name: Thermal board Sensor 1
            status: ok
          - celsius: 51
            name: Thermal board Sensor 2
            status: ok
          - celsius: 50
            name: Thermal board Sensor 3
            status: ok
          - celsius: 57
            name: PFE Die Sensor
            status: ok
          type: fpc
          uptime: 1692720
          vc_links:
          - neighbor_module_idx: 1
            neighbor_port_id: vcp-1/1/1
            port_id: vcp-0/1/0
          - neighbor_module_idx: 1
            neighbor_port_id: vcp-1/1/0
            port_id: vcp-0/1/1
          vc_mode: HiGiG
          vc_role: master
          vc_state: present
          version: 22.4R3.25
        - boot_partition: junos
          cpu_stat:
            idle: 79
            interrupt: 0
            load_avg:
            - 0.52
            - 0.46
            - 0.46
            system: 6
            user: 15
          fpc_idx: 1
          mac: 485a0deb2380
          memory_stat:
            usage: 14
          model: EX4100-F-12P
          pics:
          - index: 0
            model_number: EX4100-F-12P
            port_groups:
            - count: 12
              type: GE
          - index: 1
            model_number: EX4100-F-12P
            port_groups:
            - count: 4
              type: SFP/SFP+
          - index: 2
            model_number: EX4100-F-12P
            port_groups:
            - count: 2
              type: GE
          poe:
            max_power: 180
            power_draw: 22.1
          psus:
          - name: Power Supply 0
            status: ok
          - name: Power Supply 1
            status: absent
          - name: Power Supply 2
            status: absent
          serial: FJ0424AV0101
          temperatures:
          - celsius: 52
            name: Thermal board Sensor 1
            status: ok
          - celsius: 53
            name: Thermal board Sensor 2
            status: ok
          - celsius: 52
            name: Thermal board Sensor 3
            status: ok
          - celsius: 59
            name: PFE Die Sensor
            status: ok
          type: fpc
          uptime: 1692720
          vc_links:
          - neighbor_module_idx: 0
            neighbor_port_id: vcp-0/1/1
            port_id: vcp-1/1/0
          - neighbor_module_idx: 0
            neighbor_port_id: vcp-0/1/0
            port_id: vcp-1/1/1
          vc_mode: HiGiG
          vc_role: backup
          vc_state: present
          version: 22.4R3.25
        name: SW-HLAB-ea2e00
        org_id: c5324060-19da-48fa-af28-2b530bd08765
        route_summary_stats:
          fib_routes: 7
          max_unicast_routes_supported: 32150
          rib_routes: 40
          total_routes: 3
        serial: FJ0324AV0077
        site_id: a0e43ffb-94a6-4f27-92aa-9cf832e1143d
        status: connected
        tag_id: 3564806
        tag_uuid: 507604a4-6b34-449c-acb3-87955430b006
        type: switch
        uptime: 1692720
        vc_mac: 0912f561b653
        vc_setup_info:
          config_type: nonprovisioned
          err_missing_dev_id_fpc: false
        version: 22.4R3.25
    GatewayMetricsExample:
      value:
        config_success: 99.9
        version_compliance:
          major_version:
            SRX320:
              major_count: 0
              major_version: 19.4R2-S1.2
          score: 99.9
          type: gateway
    DeviceStatsSwitchStats:
      value:
        ap_redundancy:
          num_aps: 1
          num_aps_with_switch_redundancy: 1
        arp_table_stats:
          arp_table_count: 16
          max_entries_supported: 32000
        auto_upgrade_stat:
          lastcheck: 1720600596
        cert_expiry: 1743932274
        clients:
        - device_mac: 0912f561b653
          mac: 001132f5ad23
          port_id: ge-1/0/11
        clients_stats:
          total:
            num_aps:
            - 0
            - 0
            num_wired_clients: 13
        config_status: COMMITED
        config_timestamp: 1720552389
        config_version: 1720552389
        cpu_stat:
          idle: 74
          interrupt: 0
          load_avg:
          - 0.8
          - 0.75
          - 0.78
          system: 13
          user: 13
        created_time: 1712346090
        dhcpd_stat:
          ifo:
            num_ips: 5
            num_leased: 0
        ext_ip: 153.142.221.41
        fw_versions_outofsync: false
        fwupdate:
          progress: 100
          status: upgraded
          status_id: 3037
          timestamp: 1712409702.9714448
          will_retry: false
        has_pcap: true
        hostname: SW-HLAB-ea2e00
        hw_rev: A
        id: 00000000-0000-0000-1000-0912f561b653
        if_stat:
          ge-0/0/5.0:
            port_id: ge-0/0/5
            rx_bytes: 0
            rx_pkts: 78110
            tx_bytes: 0
            tx_pkts: 61037
            up: true
          ge-1/0/0.0:
            port_id: ge-1/0/0
            rx_bytes: 0
            rx_pkts: 56415
            tx_bytes: 0
            tx_pkts: 72209
            up: true
          irb.172:
            ips:
            - 10.3.172.41/24
            port_id: irb
            rx_bytes: 0
            rx_pkts: 1291755
            servp_info: {}
            tx_bytes: 0
            tx_pkts: 990327
            up: true
            vlan: 172
          vme.0:
            port_id: vme
            rx_bytes: 0
            rx_pkts: 0
            tx_bytes: 0
            tx_pkts: 0
            up: true
        ip: 10.3.10.10
        ip_stat:
          gateway: 10.3.172.9
          ip: 10.3.10.10
          ips:
            vlan172: 10.3.172.41
          netmask: 255.255.255.255
        last_seen: 1720601189
        last_trouble:
          code: '103'
          timestamp: 1712412455215
        mac: 0912f561b653
        mac_table_stats:
          mac_table_count: 58
          max_mac_entries_supported: 64000
        memory_stat:
          usage: 16
        model: EX4100-F-12P
        modified_time: 1720552388
        module_stat:
        - boot_partition: junos
          cpu_stat:
            idle: 74
            interrupt: 0
            load_avg:
            - 0.8
            - 0.75
            - 0.78
            system: 13
            user: 13
          fpc_idx: 0
          mac: 0912f561b653
          memory_stat:
            usage: 16
          model: EX4100-F-12P
          pics:
          - index: 0
            model_number: EX4100-F-12P
            port_groups:
            - count: 12
              type: GE
          - index: 1
            model_number: EX4100-F-12P
            port_groups:
            - count: 4
              type: SFP/SFP+
          - index: 2
            model_number: EX4100-F-12P
            port_groups:
            - count: 2
              type: GE
          poe:
            max_power: 180
            power_draw: 7.3
          psus:
          - name: Power Supply 0
            status: ok
          - name: Power Supply 1
            status: absent
          - name: Power Supply 2
            status: absent
          serial: FJ0324AV0077
          temperatures:
          - celsius: 51
            name: Thermal board Sensor 1
            status: ok
          - celsius: 51
            name: Thermal board Sensor 2
            status: ok
          - celsius: 50
            name: Thermal board Sensor 3
            status: ok
          - celsius: 57
            name: PFE Die Sensor
            status: ok
          type: fpc
          uptime: 1692720
          vc_links:
          - neighbor_module_idx: 1
            neighbor_port_id: vcp-1/1/1
            port_id: vcp-0/1/0
          - neighbor_module_idx: 1
            neighbor_port_id: vcp-1/1/0
            port_id: vcp-0/1/1
          vc_mode: HiGiG
          vc_role: master
          vc_state: present
          version: 22.4R3.25
        - boot_partition: junos
          cpu_stat:
            idle: 79
            interrupt: 0
            load_avg:
            - 0.52
            - 0.46
            - 0.46
            system: 6
            user: 15
          fpc_idx: 1
          mac: 485a0deb2380
          memory_stat:
            usage: 14
          model: EX4100-F-12P
          pics:
          - index: 0
            model_number: EX4100-F-12P
            port_groups:
            - count: 12
              type: GE
          - index: 1
            model_number: EX4100-F-12P
            port_groups:
            - count: 4
              type: SFP/SFP+
          - index: 2
            model_number: EX4100-F-12P
            port_groups:
            - count: 2
              type: GE
          poe:
            max_power: 180
            power_draw: 22.1
          psus:
          - name: Power Supply 0
            status: ok
          - name: Power Supply 1
            status: absent
          - name: Power Supply 2
            status: absent
          serial: FJ0424AV0101
          temperatures:
          - celsius: 52
            name: Thermal board Sensor 1
            status: ok
          - celsius: 53
            name: Thermal board Sensor 2
            status: ok
          - celsius: 52
            name: Thermal board Sensor 3
            status: ok
          - celsius: 59
            name: PFE Die Sensor
            status: ok
          type: fpc
          uptime: 1692720
          vc_links:
          - neighbor_module_idx: 0
            neighbor_port_id: vcp-0/1/1
            port_id: vcp-1/1/0
          - neighbor_module_idx: 0
            neighbor_port_id: vcp-0/1/0
            port_id: vcp-1/1/1
          vc_mode: HiGiG
          vc_role: backup
          vc_state: present
          version: 22.4R3.25
        name: SW-HLAB-ea2e00
        org_id: c5324060-19da-48fa-af28-2b530bd08765
        route_summary_stats:
          fib_routes: 7
  

# --- truncated at 32 KB (164 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mist-ai/refs/heads/main/openapi/mist-ai-sites-stats-devices-api-openapi.yml