# 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](/metrics-and-features.md)

<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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.innerspace.io/api-reference-v2/building_insights.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
