---
title: "Get blueprint usage statistics for a geofence"
method: GET
path: "/geofence/v1/geofences/{geofence_id}/blueprints"
tags: ["geofence_Device State"]
---

# Get blueprint usage statistics for a geofence

`GET /geofence/v1/geofences/{geofence_id}/blueprints`

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

## Path parameters

- `geofence_id` string, uuid, required

## Query parameters

- `offset` integer
- `limit` integer

## Headers

- `X-Esper-Tenant-Id` string, uuid, required
- `X-Caller-Id` string, required

## Response `200`

Blueprint usage statistics retrieved successfully

- object
  - `content` object
    - `next` string, nullable
    - `previous` string, nullable
    - `results` GeofenceBlueprintUsageItem[]
      - `blueprint_id` string, uuid, required — UUID of the blueprint
      - `blueprint_version_number` integer, required — Blueprint version number
      - `device_count` integer, required — Number of devices using this blueprint revision

## Other responses

- `400` — Invalid geofence ID, missing tenant ID, or missing pagination parameters
- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.net/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esper/esper-api-reference/versions/e1f64cbb488e/schema)
