v1

latestOpenAPI 3.0.1Apache 2.02026-08-063494581.6 MB
geofence_Device State

Get blueprint usage statistics for a geofence

Returns paginated statistics about blueprint usage within a specific geofence (which blueprints are used and device counts)

get/geofence/v1/geofences/{geofence_id}/blueprints

Path parameters

geofence_idstring uuid required

UUID of the geofence

Query parameters

offsetinteger

Number of items to skip before starting to collect the result set

limitinteger

Maximum number of items to return

Headers

X-Esper-Tenant-Idstring uuid required

Esper tenant ID associated with the request

X-Caller-Idstring required

Unique identifier for the caller

Response

Blueprint usage statistics retrieved successfully

Example response

{
  "content": {
    "next": "/v1/geofences/f5316a75-f186-4769-970e-28d6a1a0e110/blueprints?offset=10&limit=10",
    "results": [
      {
        "blueprint_id": "550e8400-e29b-41d4-a716-446655440000",
        "blueprint_version_number": 1,
        "device_count": 25
      }
    ]
  }
}