Skip to main content
POST
/
endpoint
/
count
Get endpoint search count
curl --request POST \
  --url https://api.wirespeed.co/endpoint/count \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "size": 123,
  "page": 123,
  "filter": "name",
  "search": "<string>",
  "orderBy": "<string>",
  "orderDir": "asc",
  "hvaOnly": true,
  "onlyContained": true,
  "userId": "<string>",
  "showUnmanagedEndpoints": true,
  "operatingSystemCategories": [
    "Windows"
  ],
  "onlyLive": true,
  "onlyBillable": true,
  "integrationIds": [
    "<string>"
  ]
}
'
{
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json
size
number
page
number
filter
enum<string>

Field to filter Critical Asset automation by

Available options:
name,
ip,
os
orderBy
string
orderDir
enum<string>
Available options:
asc,
desc
hvaOnly
boolean

Only return Critical Assets

onlyContained
boolean

Only return currently contained endpoints

userId
string

Filter by specific user ID

showUnmanagedEndpoints
boolean

Include unmanaged endpoints in results

operatingSystemCategories
enum<string>[]

Filter by OS categories (supports multiple)

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

Only return live/online endpoints

onlyBillable
boolean

Only return billable endpoints

integrationIds
string[]

Filter by integration IDs (supports multiple)

Response

Total count of endpoints matching the search criteria

totalCount
number
required

Total number of endpoints matching the search criteria