InnerSpace API
  • Overview
  • Metrics and Features
  • Groups
  • Authentication
  • Granularity
  • DateTime
  • GraphQL Playground
  • API Reference (v2)
    • building_insights (nightly)
    • zone_insights (nightly)
    • zone_type_insights (nightly)
    • buildings (nightly)
    • sites (nightly) [TBD]
    • zone_occupancy (realtime) [TBD]
    • zone_occupancy (nightly) [TBD]
    • groups (nightly) [TBD]
    • zones (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)

zone_occupancy (realtime) [TBD]

Realtime zone occupancy

InnerSpace publishes occupancy of a zone in near realtime, typically with a latency of 30s-5mins. Latency is most strongly influenced by the frequency by which the WIFI Infrastructure pushes data to InnerSpace for processing.

Example

// query
query zone_metrics(
  $limit: Int,
  $offset: Int,
  $order_by: [zone_occupancy_order_by!],
  $where: zone_occupancy_bool_exp
) {
  zone_occupancy(
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    site_id
    zone_id
    date_time
    granularity
    occupancy
  }
}

Previoussites (nightly) [TBD]Nextzone_occupancy (nightly) [TBD]

Last updated 10 months ago

Was this helpful?