Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juniper Mist AI Orgs Stats - Tunnels API

API Calls to retrieve statistics about the Mist Tunnels at the Org level

Juniper Mist AI Orgs Stats - Tunnels API is one of 211 APIs that Juniper Mist AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Orgs Stats - Tunnels. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 31 schemas. It is described by OpenAPI 3.1.0, at version 2604.1.1.

Requests are made against 12 base URLs: https://api.mist.com, https://api.gc1.mist.com, https://api.ac2.mist.com, https://api.gc2.mist.com, https://api.gc4.mist.com, https://api.eu.mist.com, https://api.gc3.mist.com, https://api.ac6.mist.com, https://api.gc6.mist.com, https://api.ac5.mist.com, https://api.gc5.mist.com, https://api.gc7.mist.com.

2 operations 2 paths 31 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2604.1.1
Base URL
https://api.mist.com/api/v1
Authentication
API Key, HTTP Basic, API Key
License
Resource Areas
1

Authentication & Security 3

Juniper Mist AI Orgs Stats - Tunnels API declares 3 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiToken). It accepts HTTP basic authentication (basicAuth). An API key is passed in the header as X-CSRFToken (csrfToken). By default, every request must be authenticated.

  • apiToken — Like many other API providers, it’s also possible to generate API Tokens to be used (in HTTP Header) for authentication. An API token ties to a Admin with equa…
  • basicAuth — While our current UI uses Session / Cookie-based authentication, it’s also possible to do Basic Auth.
  • csrfToken — This protects the website against [Cross Site Request Forgery](https://en.wikipedia.org/wiki/Cross-siterequestforgery), all the POST / PUT / DELETE APIs needs…

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Orgs Stats - Tunnels 2

API Calls to retrieve statistics about the Mist Tunnels at the Org level

GET
/api/v1/orgs/{org_id}/stats/tunnels/count
countOrgTunnelsStats
countOrgTunnelsStats 4 params → 200400401403404429
GET
/api/v1/orgs/{org_id}/stats/tunnels/search
searchOrgTunnelsStats
searchOrgTunnelsStats 23 params → 200400401403404429

Schemas 31

The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are stats_wan_tunnel (21 properties), stats_mxtunnel (18 properties), response_count (6 properties), response_tunnel_search (6 properties). Each schema is shown below with its type and property counts.

response_count
object
6 properties 6 required
tunnel_type
string
enum: wan, wxtunnel
stats_mxtunnel
object
MxTunnels statistics
18 properties 1 required
response_http403
object
1 property
wan_tunnel_protocol
string
enum: gre, ipsec
response_tunnel_search_results
array
count_results
array
count_result
object
1 property 1 required
tx_pkts
integernull
Amount of packets sent since connection
fwupdate_stat
object
5 properties
site_id
string
last_seen
numbernull
Last seen timestamp
response_http404
object
1 property
tunnel_priority
string
enum: primary, secondary
timestamp
number
Epoch (seconds)
stats_mxtunnel_sessions
array
List of sessions
stats_mxtunnel_session
object
4 properties 4 required
response_http400
object
1 property
tx_bytes
integernull
Amount of traffic sent since connection
org_tunnel_count_distinct
string
enum: ap, authalgo, encryptalgo, ikeversion, ip, lastevent, mac, mxclusterid, mxedgeid, node, peerhost, peerip, peermxedgeid, protocol, remoteip, remoteport, s…
response_http429
object
1 property
fwupdate_stat_status
stringnull
enum: inprogress, failed, upgraded, success, scheduled, error
org_tunnel_type_count
string
enum: wan, wxtunnel
response_tunnel_search_item
stats_wan_tunnel
object
21 properties 1 required
rx_bytes
integernull
Amount of traffic received since connection
stats_mxtunnel_state
string
enum: established, establishedwithsessions, idle, wait-ctrl-conn, wait-ctrl-reply
response_http401
object
1 property
response_tunnel_search
object
6 properties 5 required
org_id
string
rx_pkts
integernull
Amount of packets received since connection

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mist-ai-orgs-stats-tunnels-api-openapi.yml Raw ↑

Other APIs Juniper Mist AI publishes across the network.

Juniper Mist WebSocket Streaming API
Juniper Mist Webhooks API
Juniper Mist AI Admins API
Juniper Mist AI Admins Login API
Juniper Mist AI Admins Login - OAuth2 API
Juniper Mist AI Admins Logout API
Juniper Mist AI Admins Lookup API
Juniper Mist AI Admins Recover Password API
Juniper Mist AI Constants Definitions API
Juniper Mist AI Constants Events API
Juniper Mist AI Constants Models API
Juniper Mist AI Installer API