Skip to main content
POST
/
endpoint
/
stats
Get endpoint statistics
curl --request POST \
  --url https://api.wirespeed.co/endpoint/stats \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "showUnmanagedEndpoints": true,
  "onlyContained": true,
  "onlyLive": true,
  "operatingSystemCategory": "Windows"
}
'
{
  "totalCount": 123,
  "liveCount": 123,
  "containedCount": 123,
  "uncontainedCount": 123,
  "operatingSystems": [
    {
      "operatingSystem": "Windows",
      "count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
showUnmanagedEndpoints
boolean

Include unmanaged endpoints in statistics

onlyContained
boolean

Only include contained endpoints

onlyLive
boolean

Only include live/online endpoints

operatingSystemCategory
enum<string>

Filter by OS category

Available options:
Windows,
Windows Server,
macOS,
Linux,
iOS,
Android,
ChromeOS,
Network Device,
Other

Response

200 - application/json

Endpoint statistics for the current team

totalCount
number
required

Total number of endpoints

liveCount
number
required

Number of live/online endpoints

containedCount
number
required

Number of contained endpoints

uncontainedCount
number
required

Number of uncontained endpoints

operatingSystems
object[]
required

Endpoint counts grouped by OS category