v1

latestOpenAPI 3.0.1Apache 2.02026-08-063494581.6 MB
geofence_Device State

Get device summary for a geofence

Returns aggregate statistics about devices in relation to a specific geofence (total devices, inside count, outside count)

get/geofence/v1/geofences/{geofence_id}/device-summary

Path parameters

geofence_idstring uuid required

UUID of the geofence

Headers

X-Esper-Tenant-Idstring uuid required

Esper tenant ID associated with the request

X-Caller-Idstring required

Unique identifier for the caller

Response

Device summary retrieved successfully

Example response

{
  "content": {
    "total_devices": 100,
    "inside_count": 60,
    "outside_count": 35,
    "unknown_count": 5
  }
}