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)

building_insights (nightly)

Fetch metrics at a building or site (typically a floor) level, where a metric is a measurement or insight with a single result. Some metrics are a complex measurement or insight, possibly with multiple results.

When site_id is populated, this is a floor level insight. When site_is is null, this is a building level insight.

<metric_name> would be one or more of the metrics outlined in Metrics and Features

// query
query building_insights(
  $limit: Int,
  $offset: Int,
  $order_by: [building_metrics_order_by!],
  $where: building_metrics_bool_exp
) {
  BUILDING_INSIGHTS(
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    DATE_TIME_START
    BUILDING_ID
    SITE_ID
    GRANULARITY
    ZONE_LABEL
    GROUP_ID
    <METRIC_NAME>
  }
}
PreviousAPI Reference (v2)Nextzone_insights (nightly)

Last updated 5 days ago

Was this helpful?