# 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](https://developers.innerspace.io/metrics-and-features "mention")

<pre class="language-graphql"><code class="lang-graphql">// 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
  ) {
<strong>    DATE_TIME_START
</strong>    BUILDING_ID
    SITE_ID
    GRANULARITY
    ZONE_LABEL
    GROUP_ID
    &#x3C;METRIC_NAME>
  }
}
</code></pre>
