zone_type_insights

Refresh Interval: nightly.

Zones, also known as spaces, can be assigned a type - similar to a category.

Fetch metrics for a zone_type, where a metric is a measurement or insight with a single result. Some metrics are a complex measurement or insight, possibly with multiple results.

A set of zone types are calculated together as a whole to represent a floor or building. Zone types are split into different views of a floor by zone_type_view, which represents a set of types

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

// query
query zone_type_insights(
  $limit: Int,
  $offset: Int,
  $order_by: [zone_metrics_order_by!],
  $where: zone_metrics_bool_exp
) {
  ZONE_TYPE_INSIGHTS(
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    DATE_TIME_START
    BUILDING_ID
    SITE_ID
    GRANULARITY
    ZONE_TYPE
    ZONE_TYPE_VIEW
    GROUP_ID
    <METRIC_NAME>
  }
}

Last updated

Was this helpful?