SitesSLEs

getSiteSleClassifierSummaryTrend

GET
/api/v1/sites/{site_id}/sle/{scope}/{scope_id}/metric/{metric}/classifier/{classifier}/summary-trend

Get SLE classifier Summary Trend

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
scope*string

enum: ap, client, gateway, site, switch

Value in

  • "ap"
  • "client"
  • "gateway"
  • "site"
  • "switch"
scope_id*string
  • site_id if scope==site
  • device_id if scope==ap, scope==switch or scope==gateway
  • mac if scope==client
metric*string

Values from listSiteSlesMetrics

classifier*string

Query Parameters

start?string

Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as -1d or -1w

end?string

Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as -1d, -2h, or now

duration?string

Time range duration for the query, using relative units such as 10m, 7d, or 2w

Default"1d"

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/sle/ap/string/metric/string/classifier/string/summary-trend"
{  "classifier": {    "interval": 3600,    "name": "wifi-interference",    "samples": {      "degraded": [        0,        0,        210.03334,        3.1333334,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        102.5,        108.03333,        0,        0,        201.9,        566.48334,        135.63333,        0      ],      "duration": [        0,        0,        210.03334,        3.1333334,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        102.5,        108.03333,        0,        0,        201.9,        566.48334,        135.63333,        0      ],      "total": [        1302.3,        1289.0167,        1396.3167,        1423.6666,        1439.2167,        1414.7,        1361.0834,        1371.5834,        1372.0667,        1339.1,        1374.3667,        1369.9,        1352.4833,        1382.8,        1426.7167,        1425.6333,        1403.9333,        1420.75,        1416.8334,        1437.3334,        1425.1,        1485.3667,        1426.4333,        444.13333      ]    },    "x_label": "seconds",    "y_label": "user-minutes"  },  "end": 1627312871,  "metric": "capacity",  "start": 1627226471}