building_insights

Publish Interval: 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>
  }
}

Last updated

Was this helpful?