Aerovy Platform logo

Sites

Model physical locations and the devices deployed there.

A Site is a physical location: an address with coordinates that groups the devices deployed there. A Site is one kind of Place (the other is a Fleet). Inside a Site you build a tree of levels (for example Site → Building → Floor → Room), and each device can sit at a specific level.

You can see all the sites in your organization and open any one to view its details: its metadata, alerts, location, device metrics, and level structure. From a site you add devices, manage monitors, edit or delete the site, and download aggregate data over a time range.

A site detail page

Configuration

Site fields

Used when creating or editing a site.

FieldTypeRequiredNotes
Site namestringYesMust be non-empty
AddressstringYesMust be non-empty
LatitudenumberYes-90 to 90
LongitudenumberYes-180 to 180
Displayed metricsordered list of metric idsNoMetrics shown on the site dashboard

Creating a site provisions its data infrastructure automatically, then opens the new site.

Levels

Levels give a site internal structure. Each level has a type and a parent, forming a tree under a root level.

FieldTypeRequiredNotes
Level typeselectYesFrom the site's defined level types; fixed once created
Level namestringYes
Parent levelselectYes (on create)Limited to valid parent types for the chosen type
DescriptionstringNo
AddressstringNo
Latitude / Longitude / AltitudenumberNo
Attributeskey/value pairsNo

You can move a level to a new parent (limited to valid parent types for its type).

Adding devices

Add a device to a site from its detail page. When the Place is a site, the device requires a level. There's no separate "assign an existing device" step: a device's site is its Place.

Finding sites

Search matches a site's name or id.

States

A site has no status, health, or occupancy state. There's no lifecycle field and no health rollup.

Deleting a site or level

Deleting first checks for dependent resources. If any exist, you confirm a force delete that also removes them.

Metrics summary

The data summary shows whatever metrics are in the site's displayed metrics list, each over the selected time range. A Last-aggregation metric shows the latest reading across all devices on the site.

API

Send your API key in the X-Api-Key header. A read scope covers reads; write covers create, update, and delete. Force delete requires an admin scope. Site and level ids are plain GUIDs, with no prefix.

Sites

MethodPathPurposeScope
GET/v2/sitesList sites (paginated)read
GET/v2/sites/{placeId}Get one siteread
POST/v2/sitesCreate a sitewrite
PUT/v2/sites/{placeId}Update a sitewrite
DELETE/v2/sites/{placeId}Soft-delete a sitewrite
GET/v2/sites/{placeId}/delete-previewList what a force delete would removewrite
DELETE/v2/sites/{placeId}/forceForce-delete, cascading dependentsadmin

Devices on a site come from the Thing endpoints (see Devices): GET /v2/sites/{placeId}/things.

Levels

Level management endpoints are coming soon to the v2 API.