Juniper Mist AI Orgs Stats - Devices API

API Calls to retrieve statistics about the Mist Managed and Monitored Devices at the Org level By default, the API call only returns a subset of the available fields. Additional fields can be requested by adding the query parameter `fields=` and the list of fields, or `fields=*` to retrieve all the available fields.

Operations 1

GET /api/v1/orgs/{org_id}/stats/devices listOrgDevicesStats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mist-ai-orgs-stats-devices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mist-ai-orgs-stats-devices-api-openapi.yml Raw ↑
openapi: 3.2.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 Orgs 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 Org level



    By default, the API call only returns a subset of the available fields. Additional fields can be requested by adding the query parameter `fields=` and the list of fields, or `fields=*` to retrieve all the available fields.'
  name: Orgs Stats - Devices
paths:
  /api/v1/orgs/{org_id}/stats/devices:
    parameters:
    - $ref: '#/components/parameters/org_id'
    get:
      description: 'Get List of Org Devices stats

        This API renders some high-level device stats, pagination is assumed and returned in response header (as the response is an array)'
      operationId: listOrgDevicesStats
      parameters:
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/device_type_with_all'
      - in: query
        name: status
        schema:
          $ref: '#/components/schemas/device_status'
      - in: query
        name: site_id
        schema:
          type: string
      - in: query
        name: mac
        schema:
          type: string
      - description: EVPN Topology ID
        in: query
        name: evpntopo_id
        schema:
          type: string
      - description: If `evpn_unused`==`true`, find EVPN eligible switches which don’t belong to any EVPN Topology yet
        in: query
        name: evpn_unused
        schema:
          type: string
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/duration'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          $ref: '#/components/responses/DevicesArrayStatsOrg'
        '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: listOrgDevicesStats
      tags:
      - Orgs Stats - Devices
components:
  schemas:
    port_auth_state:
      description: 'enum: `authenticated`, `authenticating`, `held`, `init`'
      enum:
      - ''
      - authenticated
      - authenticating
      - held
      - init
      type: string
    stats_ap_gps_stat:
      additionalProperties: false
      properties:
        accuracy:
          description: The estimated accuracy or accuracy of the GPS coordinates, measured in meters.
          examples:
          - 12.5
          type: number
        altitude:
          description: The elevation of the AP above sea level, measured in meters.
          examples:
          - 99.939
          type: number
        latitude:
          description: The geographic latitude of the AP, measured in degrees.
          examples:
          - 37.29548
          type: number
        longitude:
          description: The geographic longitude of the AP, measured in degrees.
          examples:
          - -122.03304
          type: number
        src:
          $ref: '#/components/schemas/stats_ap_gps_stat_src'
        timestamp:
          $ref: '#/components/schemas/timestamp'
      type: object
    route_summary_stats:
      additionalProperties: false
      properties:
        fib_routes:
          type: integer
        max_unicast_routes_supported:
          type: integer
        rib_routes:
          type: integer
        total_routes:
          type: integer
      type: object
    wan_tunnel_protocol:
      description: 'enum: `gre`, `ipsec`'
      enum:
      - gre
      - ipsec
      type: string
    org_id:
      examples:
      - a97c1b22-a4e9-411e-9bfd-d8695a0f9e61
      format: uuid
      readOnly: true
      type: string
    stats_gateway_service_status:
      additionalProperties: false
      properties:
        appid_install_result:
          type: string
        appid_install_timestamp:
          type: string
        appid_status:
          type: string
        appid_version:
          type: integer
        ewf_status:
          type: string
        idp_install_result:
          type: string
        idp_install_timestamp:
          type: string
        idp_policy:
          type: string
        idp_status:
          type: string
        idp_update_timestamp:
          type: string
      type: object
    module_stat_item_poe:
      additionalProperties: false
      properties:
        max_power:
          examples:
          - 250
          type: number
        power_draw:
          examples:
          - 120.3
          type: number
        status:
          type: string
      type: object
    tx_bps:
      description: Rate of transmitting traffic, bits/seconds, last known
      examples:
      - 634301
      format: int64
      readOnly: true
      type:
      - integer
      - 'null'
    rx_bps:
      description: Rate of receiving traffic, bits/seconds, last known
      examples:
      - 60003
      format: int64
      readOnly: true
      type:
      - integer
      - 'null'
    ap_stat_mesh_downlink:
      additionalProperties: false
      properties:
        band:
          examples:
          - '5'
          type: string
        channel:
          examples:
          - 36
          type: integer
        idle_time:
          examples:
          - 3
          type: integer
        last_seen:
          $ref: '#/components/schemas/last_seen'
        proto:
          examples:
          - n
          type: string
        rssi:
          examples:
          - -65
          type: integer
        rx_bps:
          $ref: '#/components/schemas/rx_bps'
        rx_bytes:
          $ref: '#/components/schemas/rx_bytes'
        rx_packets:
          $ref: '#/components/schemas/rx_pkts'
        rx_rate:
          $ref: '#/components/schemas/rx_rate'
        rx_retries:
          $ref: '#/components/schemas/rx_retries'
        site_id:
          $ref: '#/components/schemas/site_id'
        snr:
          examples:
          - 31
          type: integer
        tx_bps:
          $ref: '#/components/schemas/tx_bps'
        tx_bytes:
          $ref: '#/components/schemas/tx_bytes'
        tx_packets:
          $ref: '#/components/schemas/tx_pkts'
        tx_rate:
          $ref: '#/components/schemas/tx_rate'
        tx_retries:
          $ref: '#/components/schemas/tx_retries'
      type: object
    module_stat_item_vc_links_item:
      additionalProperties: false
      properties:
        neighbor_module_idx:
          examples:
          - 1
          type: integer
        neighbor_port_id:
          examples:
          - vcp-255/1/0
          type: string
        port_id:
          examples:
          - vcp-255/1/0
          type: string
      type: object
    ap_radio_stat:
      additionalProperties: false
      description: Radio stat
      properties:
        bandwidth:
          $ref: '#/components/schemas/dot11_bandwidth'
        channel:
          description: Current channel the radio is running on
          readOnly: true
          type:
          - integer
          - 'null'
        dynamic_chaining_enabled:
          description: Use dynamic chaining for downlink
          readOnly: true
          type:
          - boolean
          - 'null'
        mac:
          description: Radio (base) mac, it can have 16 bssids (e.g. 5c5b350001a0-5c5b350001af)
          readOnly: true
          type:
          - string
          - 'null'
        noise_floor:
          examples:
          - -90
          readOnly: true
          type:
          - integer
          - 'null'
        num_clients:
          readOnly: true
          type:
          - integer
          - 'null'
        num_wlans:
          description: How many WLANs are applied to the radio
          type: integer
        power:
          description: Transmit power (in dBm)
          readOnly: true
          type:
          - integer
          - 'null'
        rx_bytes:
          $ref: '#/components/schemas/rx_bytes'
        rx_pkts:
          $ref: '#/components/schemas/rx_pkts'
        tx_bytes:
          $ref: '#/components/schemas/tx_bytes'
        tx_pkts:
          $ref: '#/components/schemas/tx_pkts'
        usage:
          examples:
          - '24'
          readOnly: true
          type:
          - string
          - 'null'
        util_all:
          description: All utilization in percentage
          readOnly: true
          type:
          - integer
          - 'null'
        util_non_wifi:
          description: Reception of "No Packets" utilization in percentage, received frames with invalid PLCPs and CRS glitches as noise
          readOnly: true
          type:
          - integer
          - 'null'
        util_rx_in_bss:
          description: Reception of "In BSS" utilization in percentage, only frames that are received from AP/STAs within the BSS
          readOnly: true
          type:
          - integer
          - 'null'
        util_rx_other_bss:
          description: Reception of "Other BSS" utilization in percentage, all frames received from AP/STAs that are outside the BSS
          readOnly: true
          type:
          - integer
          - 'null'
        util_tx:
          description: Transmission utilization in percentage
          readOnly: true
          type:
          - integer
          - 'null'
        util_undecodable_wifi:
          description: Reception of "UnDecodable Wifi" utilization in percentage, only Preamble, PLCP header is decoded, Rest is undecodable in this radio
          readOnly: true
          type:
          - integer
          - 'null'
        util_unknown_wifi:
          description: Reception of "No Category" utilization in percentage, all 802.11 frames that are corrupted at the receiver
          readOnly: true
          type:
          - integer
          - 'null'
      type: object
    tx_rate:
      description: TX Rate, Mbps
      format: float
      readOnly: true
      type:
      - number
      - 'null'
    bgp_peer:
      additionalProperties: false
      description: Only present when `bgp_peers` in `fields` query parameter
      properties:
        evpn_overlay:
          description: If this is created for evpn overlay
          type: boolean
        for_overlay:
          description: If this is created for overlay
          type: boolean
        local_as:
          $ref: '#/components/schemas/bgp_as'
        neighbor:
          examples:
          - 15.8.3.5
          type: string
        neighbor_as:
          $ref: '#/components/schemas/bgp_as'
        neighbor_mac:
          description: If it's another device in the same org
          examples:
          - 020001c04600
          type: string
        node:
          description: Node0/node1
          examples:
          - node0
          type: string
        rx_pkts:
          $ref: '#/components/schemas/rx_pkts'
        rx_routes:
          description: Number of received routes
          examples:
          - 60
          type: integer
        state:
          $ref: '#/components/schemas/bgp_stats_state'
        timestamp:
          $ref: '#/components/schemas/timestamp'
        tx_pkts:
          $ref: '#/components/schemas/tx_pkts'
        tx_routes:
          examples:
          - 60
          type: integer
        up:
          type: boolean
        uptime:
          examples:
          - 31355
          type: integer
        vrf_name:
          examples:
          - default
          type: string
      type: object
    stats_gateway_module_stat_item:
      additionalProperties: false
      properties:
        backup_version:
          readOnly: true
          type:
          - string
          - 'null'
        bios_version:
          readOnly: true
          type:
          - string
          - 'null'
        boot_partition:
          type: string
        cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        fans:
          $ref: '#/components/schemas/module_stat_item_fans'
        fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        last_seen:
          $ref: '#/components/schemas/last_seen'
        locating:
          type: boolean
        mac:
          examples:
          - fc3342123456
          type: string
        memory_stat:
          $ref: '#/components/schemas/memory_stat'
        model:
          examples:
          - EX4300-48P
          readOnly: true
          type:
          - string
          - 'null'
        network_resources:
          $ref: '#/components/schemas/module_stat_item_network_resources'
        optics_cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        pending_version:
          readOnly: true
          type:
          - string
          - 'null'
        poe:
          $ref: '#/components/schemas/module_stat_item_poe'
        poe_version:
          readOnly: true
          type:
          - string
          - 'null'
        power_cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        psus:
          $ref: '#/components/schemas/module_stat_item_psus'
        re_fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        recovery_version:
          readOnly: true
          type:
          - string
          - 'null'
        serial:
          examples:
          - PX8716230021
          readOnly: true
          type:
          - string
          - 'null'
        status:
          readOnly: true
          type:
          - string
          - 'null'
        temperatures:
          $ref: '#/components/schemas/module_stat_item_temperatures'
        tmc_fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        uboot_version:
          readOnly: true
          type:
          - string
          - 'null'
        uptime:
          readOnly: true
          type:
          - integer
          - 'null'
        vc_links:
          $ref: '#/components/schemas/module_stat_item_vc_links'
        vc_mode:
          readOnly: true
          type:
          - string
          - 'null'
        vc_role:
          description: 'enum: `master`, `backup`, `linecard`'
          examples:
          - master
          readOnly: true
          type:
          - string
          - 'null'
        vc_state:
          readOnly: true
          type:
          - string
          - 'null'
        version:
          readOnly: true
          type:
          - string
          - 'null'
      type: object
    strings:
      items:
        type: string
      type: array
      uniqueItems: true
    stats_devices:
      items:
        $ref: '#/components/schemas/stats_device'
      type: array
    last_seen:
      description: Last seen timestamp
      examples:
      - 1470417522
      format: double
      readOnly: true
      type:
      - number
      - 'null'
    stats_cluster_config_ethernet_connection_item:
      additionalProperties: false
      properties:
        name:
          type: string
        status:
          type: string
      type: object
    stats_switch_module_stat_item:
      additionalProperties: false
      properties:
        backup_version:
          readOnly: true
          type:
          - string
          - 'null'
        bios_version:
          readOnly: true
          type:
          - string
          - 'null'
        boot_partition:
          type: string
        cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        cpu_stat:
          $ref: '#/components/schemas/cpu_stat'
        errors:
          $ref: '#/components/schemas/module_stat_item_errors'
        fans:
          $ref: '#/components/schemas/module_stat_item_fans'
        fpc_idx:
          readOnly: true
          type: integer
        fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        last_seen:
          $ref: '#/components/schemas/last_seen'
        locating:
          type: boolean
        mac:
          examples:
          - fc3342123456
          type: string
        memory_stat:
          $ref: '#/components/schemas/memory_stat'
        model:
          examples:
          - EX4300-48P
          readOnly: true
          type:
          - string
          - 'null'
        optics_cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        pending_version:
          readOnly: true
          type:
          - string
          - 'null'
        pics:
          $ref: '#/components/schemas/module_stat_item_pics'
        poe:
          $ref: '#/components/schemas/module_stat_item_poe'
        poe_version:
          readOnly: true
          type:
          - string
          - 'null'
        power_cpld_version:
          readOnly: true
          type:
          - string
          - 'null'
        psus:
          $ref: '#/components/schemas/module_stat_item_psus'
        re_fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        recovery_version:
          readOnly: true
          type:
          - string
          - 'null'
        serial:
          examples:
          - PX8716230021
          readOnly: true
          type:
          - string
          - 'null'
        status:
          readOnly: true
          type:
          - string
          - 'null'
        temperatures:
          $ref: '#/components/schemas/module_stat_item_temperatures'
        tmc_fpga_version:
          readOnly: true
          type:
          - string
          - 'null'
        type:
          readOnly: true
          type:
          - string
          - 'null'
        uboot_version:
          readOnly: true
          type:
          - string
          - 'null'
        uptime:
          readOnly: true
          type:
          - integer
          - 'null'
        vc_links:
          $ref: '#/components/schemas/module_stat_item_vc_links'
        vc_mode:
          readOnly: true
          type:
          - string
          - 'null'
        vc_role:
          description: 'enum: `master`, `backup`, `linecard`'
          examples:
          - master
          readOnly: true
          type:
          - string
          - 'null'
        vc_state:
          readOnly: true
          type:
          - string
          - 'null'
        version:
          readOnly: true
          type:
          - string
          - 'null'
      type: object
    stats_ap_auto_placement_info:
      additionalProperties: false
      description: Additional information about auto placements AP data
      properties:
        cluster_number:
          description: All APs sharing a given cluster number can be placed relative to each other
          examples:
          - 0
          type: integer
        orientation_stats:
          description: The orientation of an AP
          examples:
          - 0
          type: integer
        probability_surface:
          $ref: '#/components/schemas/stats_ap_auto_placement_info_probability_surface'
      type: object
    port_stp_state:
      description: 'enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`'
      enum:
      - ''
      - blocking
      - disabled
      - forwarding
      - learning
      - listening
      type: string
    stats_ap_switch_redundancy:
      additionalProperties: false
      properties:
        num_redundant_aps:
          examples:
          - 1
          readOnly: true
          type:
          - integer
          - 'null'
      type: object
    module_stat_item_errors:
      description: Used to report all error states the device node is running into. An error should always have `type` and `since` fields, and could have some other fields specific to that type.
      items:
        $ref: '#/components/schemas/module_stat_item_errors_items'
      type: array
    tx_retries:
      description: Amount of tx retries
      readOnly: true
      type:
      - integer
      - 'null'
    stats_switch_ports:
      items:
        $ref: '#/components/schemas/stats_switch_port'
      type: array
    stats_switch_ap_redundancy:
      additionalProperties: false
      properties:
        modules:
          additionalProperties:
            $ref: '#/components/schemas/stats_switch_ap_redundancy_module'
          description: For a VC / stacked switches.
          type: object
        num_aps:
          examples:
          - 15
          type: integer
        num_aps_with_switch_redundancy:
          examples:
          - 8
          type: integer
      type: object
    arp_table_stats:
      additionalProperties: false
      properties:
        arp_table_count:
          type: integer
        max_entries_supported:
          type: integer
      type: object
    stats_switch_clients_stats_total_total_num_aps:
      items:
        type: integer
      type: array
    if_stat_property_servp_info:
      additionalProperties: false
      properties:
        asn:
          type: string
        city:
          type: string
        country_code:
          type: string
        latitude:
          type: number
        longitude:
          type: number
        org:
          type: string
        region_code:
          type: string
      type: object
    module_stat_item_psus:
      items:
        $ref: '#/components/schemas/module_stat_item_psus_item'
      type: array
      uniqueItems: true
    stats_ap_usb_stat:
      additionalProperties: false
      properties:
        channel:
          examples:
          - 3
          readOnly: true
          type:
          - integer
          - 'null'
        connected:
          examples:
          - true
          readOnly: true
          type:
          - boolean
          - 'null'
        last_activity:
          examples:
          - 1586873254
          readOnly: true
          type:
          - integer
          - 'null'
        type:
          examples:
          - imagotag
          readOnly: true
          type:
          - string
          - 'null'
        up:
          examples:
          - true
          readOnly: true
          type:
          - boolean
          - 'null'
      type: object
    module_stat_item_vc_links:
      items:
        $ref: '#/components/schemas/module_stat_item_vc_links_item'
      type: array
      uniqueItems: true
    rx_bytes:
      description: Amount of traffic received since connection
      examples:
      - 8515104416
      format: int64
      readOnly: true
      type:
      - integer
      - 'null'
    ip_type6:
      default: disabled
      description: 'enum: `autoconf`, `dhcp`, `disabled`, `static`'
      enum:
      - autoconf
      - dhcp
      - disabled
      - static
      examples:
      - static
      type: string
    module_stat_item_pics_item:
      additionalProperties: false
      properties:
        index:
          type: integer
        model_number:
          type: string
        port_groups:
          $ref: '#/components/schemas/module_stat_item_pics_item_port_groups'
      type: object
    fwupdate_stat_status:
      description: 'enum: `inprogress`, `failed`, `upgraded`, `success`, `scheduled`, `error`'
      enum:
      - inprogress
      - failed
      - upgraded
      - success
      - scheduled
      - error
      readOnly: true
      type:
      - string
      - 'null'
    stats_gateway_vpn_peers:
      description: Only present when `vpn_peers` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/vpn_peers/search` result object, except that org_id, site_id, mac, model are removed
      items:
        $ref: '#/components/schemas/stats_gateway_vpn_peer'
      type: array
    response_http403:
      additionalProperties: false
      properties:
        detail:
          examples:
          - You do not have permission to perform this action.
          type: string
      type: object
    stats_gateway_wan_tunnels:
      description: Only present when `tunnels` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/tunnels/search` result object, except that org_id, site_id, mac, model are removed
      items:
        $ref: '#/components/schemas/stats_gateway_wan_tunnel'
      type: array
    stats_gateway_mac_table_stats:
      additionalProperties: false
      properties:
        mac_table_count:
          type: integer
        max_mac_entries_supported:
          type: integer
      type: object
    ibeacon_minor:
      description: Minor number for iBeacon
      examples:
      - 1234
      maximum: 65535
      minimum: 1
      type:
      - integer
      - 'null'
    memory_stat:
      additionalProperties: false
      description: Memory usage stat (for virtual chassis, memory usage of master RE)
      properties:
        usage:
          type: number
      required:
      - usage
      type: object
    ibeacon_major:
      description: Major number for iBeacon
      examples:
      - 1234
      maximum: 65535
      minimum: 1
      type:
      - integer
      - 'null'
    module_stat_item_pics_item_port_groups_item:
      additionalProperties: false
      properties:
        count:
          type: integer
        type:
          type: string
      type: object
    stats_ap_lldp_stat:
      additionalProperties: false
      description: LLDP neighbor information and power negotiations. For backward compatibility, when multiple neighbors exist, only information from the first neighbor is displayed.
      properties:
        chassis_id:
          readOnly: true
          type:
          - string
          - 'null'
        lldp_med_supported:
          description: Whether it support LLDP-MED
          readOnly: true
          type:
          - boolean
          - 'null'
        mgmt_addr:
          description: Management IP address of the switch
          readOnly: true
          type:
          - string
          - 'null'
        mgmt_addrs:
          $ref: '#/components/schemas/stats_ap_lldp_stat_mgmt_addrs'
        port_desc:
          description: Port description, e.g. “2/20”, “Port 2 on Switch0”
          examples:
          - 2/20
          readOnly: true
          type:
          - string
          - 'null'
        port_id:
          description: Port identifier
          examples:
          - ge-0/0/4
          readOnly: true
          type:
          - string
          - 'null'
        power_allocated:
          description: In mW, power allocated by PSE
          readOnly: true
          type:
          - number
          - 'null'
        power_avail:
          description: In mW, total Power Avail at AP from pwr source
          type: integer
        power_budget:
          description: In mW, surplus if positive or deficit if negative
          type: integer
        power_constrained:
          description: Whether power is insufficient
          type: boolean
        power_draw:
          description: In mW, total power needed by PD
          readOnly: true
          type:
          - number
          - 'null'
        power_needed:
          description: In mW, total Power needed incl Peripherals
          type: integer
        power_opmode:
          description: Constrained mode
          type: string
        power_request_count:
          description: Number of negotiations, if it keeps increasing, we don’ t have a stable power
          readOnly: true
          type:
          - integer
          - 'null'
        power_requested:
          description: In mW, power requested by PD
          readOnly: true
          type:
          - number
          - 'null'
        power_src:
          $ref: '#/components/schemas/stats_ap_lldp_stat_power_src'
        power_srcs:
          $ref: '#/components/schemas/stats_ap_lldp_stat_power_srcs'
        system_desc:
          description: Description provided by switch
          examples:
          - 'uniper 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.'
          readOnly: true
          type:
          - string
          - 'null'
        system_name:
          description: Name of the switch
          examples:
          - Core-AE23
          readOnly: true
          type:
          - string
          - 'null'
      type: object
    tx_bytes:
      description: Amount of traffic sent since connection
      examples:
      - 211217389682
      format: int64
      readOnly: true
      type:
      - integer
      - 'null'
    l2tp_state:
      description: 'enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`'
      enum:
      - established
      - established_with_session
      - idle
      - wait-ctrl-conn
      - wait-ctrl-reply
      examples:
      - established
      type: string
    stats_switch_clients_stats:
      additionalProperties: false
      properties:
        total:
          $ref: '#/components/schemas/stats_switch_clients_stats_total'
      type: object
    device_status:
      default: all
      description: 'enum: `all`, `connected`, `disconnected`'
      enum:
      - all
      - connected
      - disconnected
      type: string
    bgp_stats_state:
      description: 'enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent`'
      enum:
      - active
      - connect
      - established
      - idle
      - open_config
      - open_sent
      examples:
      - established
      type: string
    stats_gateway_ports:
      description: Only present when `ports` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/ports/search` result object, except that org_id, site_id, mac, model are removed
      items:
        $ref: '#/components/schemas/stats_gateway_port'
      type: array
    ap_redundancy_modules:
      additionalP

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