Skip to content

Get fleet metrics

GET
/admin/fleet/metrics
curl --request GET \
--url https://example.com/v1/admin/fleet/metrics \
--header 'Authorization: Bearer <token>'

Fleet-wide totals and health

Media typeapplication/json
object
deviceCount
integer
devicesOnline
integer
devicesOffline
integer
agentCount
integer
mcpCount
integer

Example generated

{
"deviceCount": 1,
"devicesOnline": 1,
"devicesOffline": 1,
"agentCount": 1,
"mcpCount": 1
}