Skip to content

Get status metrics report for enterprise
Stable

Request

Android only.

Returns a single aggregate object of fleet-wide device status counts for the enterprise.

Returns one JSON object (not a per-device list or paginated collection) with fixed count fields covering enrollment state, security risk classification, battery, provisioning, and recency — a snapshot of the whole fleet in one call.

About Status Metrics Report (v1) This v1 report returns exactly one object with a fixed set of integer count fields.

Security
esper_cloud_api_apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/report/status-metrics/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
activeinteger
in_activeinteger
low_riskinteger
high_riskinteger
medium_riskinteger
secureinteger
low_batteryinteger
under_provisioninginteger
recently_addedinteger
unspecifiedinteger
total_devices_under_riskinteger
Response
{ "active": 0, "in_active": 0, "low_risk": 0, "high_risk": 0, "medium_risk": 0, "secure": 0, "low_battery": 0, "under_provisioning": 0, "recently_added": 0, "unspecified": 0, "total_devices_under_risk": 0 }