InnerSpace API
  • Overview
  • Metrics and Features
  • Groups
  • Authentication
  • Granularity
  • DateTime
  • GraphQL Playground
  • API Reference (v2)
    • building_insights
    • zone_insights
    • zone_type_insights
    • buildings
    • floors
    • sites
    • groups
    • zones
    • zone_set
    • zone_occupancy (realtime) [TBD]
    • zone_occupancy (nightly) [TBD]
  • Deprecated API (2025-05-26)
    • Authentication (v1 - deprecated)
    • API Reference (v1 - deprecated)
      • zone_occupancy (realtime)
      • zone_metrics (nightly)
      • zone_features (nightly)
      • site_metrics (nightly)
      • site_features (nightly)
      • building_metrics (nightly)
      • building_features (nightly)
      • zone_occupancy (nightly)
      • groups (nightly) (TBD)
      • buildings (nightly) (TBD)
      • sites (nightly) (TBD)
      • zones (nightly) (TBD)
Powered by GitBook
On this page

Was this helpful?

  1. API Reference (v2)

sites

Refresh Interval: hourly.

A site represents a contiguous area on a floor that is covered by the InnerSpace solution. Most often, an entire floor is covered, thus the area of a site is no different than a floor. However, some floors are very large, thus only certain areas of the floor are covered - in this case, a floor may have multiple 'sites'.

Retrieve a list of sites (typically a floor) available in a building.

// query
query MyQuery {
  SITE(where: {BUILDING_ID: {_eq: 71}}) {
    ALTITUDE
    BUILDING_ID
    FLOOR_ID
    ID
    LATITUDE
    LONGITUDE
    SITE_CODE
    TIME_ZONE
  }
}
PreviousfloorsNextgroups

Last updated 4 days ago

Was this helpful?