> For the complete documentation index, see [llms.txt](https://developers.innerspace.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.innerspace.io/deprecated-api-2025-05-26/api-reference-v1-deprecated/zone_occupancy-nightly.md).

# zone\_occupancy (nightly)

Return the occupancy of a zone for a particular period of time.

```graphql
// query
query Zone_occupancy(
  $limit: Int,
  $offset: Int,
  $order_by: [zone_occupancy_order_by!],
  $where: zone_occupancy_bool_exp
) {
  zone_occupancy(
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    date_time
    granularity
    id
    occupancy
    site_id
    zone_id
    zone_set_id
  }
}
```
