Skip to main content

Device Summary

GET /v2/clients/{client_id}/devices/summary

Returns aggregate statistics about the device fleet for a client organization. Use this endpoint to power dashboard overview cards -- total device count, agent version distribution, browser extension version distribution, and deployment error counts.

This is a point-in-time snapshot, not a time-series. For historical activity trends, see Device Activity.

Path Parameters

ParameterTypeDescription
client_idstring (uuid)Unique identifier for the client organization

Response

Returns a DeviceSummary object.

Example Request

curl -X GET "https://api.example.com/v2/clients/aa7cf840-9ca9-46a3-9778-9015d6580d50/devices/summary" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Example Response

{
"total_devices": 142,
"agent_versions": {
"distinct_count": 3,
"versions": ["1.2.3", "1.2.2", "1.1.0"]
},
"browser_extension_versions": [
{
"browser_id": "chrome",
"browser_family": "chromium",
"distinct_count": 2,
"versions": ["1.4.0", "1.3.8"]
},
{
"browser_id": "edge",
"browser_family": "chromium",
"distinct_count": 1,
"versions": ["1.4.0"]
}
],
"deployment_errors": {
"total_errors": 7,
"affected_devices": 4
}
}

DeviceSummary

FieldTypeDescription
total_devicesnumberTotal number of devices registered for this client
agent_versionsobjectAgent version distribution across the fleet
agent_versions.distinct_countnumberNumber of distinct agent versions currently deployed
agent_versions.versionsstring[]List of distinct agent version strings
browser_extension_versionsobject[]Browser extension version distribution, one entry per browser with live versions
browser_extension_versions[].browser_idstringBrowser identifier (for example chrome, edge, firefox)
browser_extension_versions[].browser_familystringBrowser family grouping (for example chromium, firefox)
browser_extension_versions[].distinct_countnumberNumber of distinct extension versions for that browser
browser_extension_versions[].versionsstring[]Distinct extension version strings for that browser
deployment_errorsobjectDeployment error summary
deployment_errors.total_errorsnumberTotal number of deployment errors across all devices
deployment_errors.affected_devicesnumberNumber of devices that have at least one deployment error

Error Responses

StatusDescription
401Authentication required
403Insufficient permissions for this client
404Client not found
500Server error