---
title: "zone.object-zone-list-query@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/zone.object-zone-list-query"
updated: null
---

# zone.object-zone-list-query@1 · OpenVibe.Services

HTML: [zone.object-zone-list-query@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/zone.object-zone-list-query)

# ObjectZoneListQuery `zone.object-zone-list-query@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: zone
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-031](/docs/adr/ADR-031)
- Schema: [`https://openvibe.network/contracts/zone/object-zone-list-query.v1.json`](/docs/contracts/zone.object-zone-list-query.json)

zone.object-zone-list-query@1 (ADR-031 amendment 2026-10-02): the query string of GET /api/v1/projects/{project\_id}/zones on OpenVibe.Zone (capability zone.zone.list). Without env it lists both environments the caller's grant reaches. A sandbox-only grant never lists production zones.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `env` | enum |  |  | - `one of "sandbox", "production"` |
| `include_deleted` | enum |  | Also list zones in state deleted. Default false. | - `one of true, false, "true", "false"` |
| `limit` | one of |  | Items per page, 1 to 200. A query string carries it as a string, which must name the same range. |  |
| `cursor` | string |  | next\_cursor of the previous page. | - `maxLength 512` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: limit-string-max

~~~~
{
  "env": "production",
  "limit": "200"
}
~~~~

Valid: sandbox-page

~~~~
{
  "env": "sandbox",
  "limit": "50",
  "cursor": "eyJhZnRlciI6Inpvbl8wMSJ9"
}
~~~~

Valid: with-deleted

~~~~
{
  "include_deleted": "true"
}
~~~~

Rejected: limit-integer-zero

~~~~
{
  "limit": 0
}
~~~~

Rejected: limit-string-far-too-high

~~~~
{
  "limit": "999"
}
~~~~

Rejected: limit-string-too-high

~~~~
{
  "limit": "201"
}
~~~~

Rejected: limit-string-zero

~~~~
{
  "limit": "0"
}
~~~~

Rejected: limit-too-high

~~~~
{
  "limit": 500
}
~~~~

Rejected: unknown-env

~~~~
{
  "env": "staging"
}
~~~~

Rejected: unknown-filter

~~~~
{
  "name": "assets"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('zone.object-zone-list-query@1', value);   // { valid, errors: [{ path, message }] }
~~~~
