Prey icon

Prey

Manage devices and account data in Prey

Zone → List Zones

AI-generated

Summary

List all zones in the Prey account with optional pagination and filtering.

Inputs

  • API Key Permission — Select the permission level (Read-Only or Read & Write) that matches your API key to see appropriate operations.
  • Return All — Choose whether to return all available zones or limit the number of results.
  • Limit — When 'Return All' is false, specify the maximum number of zones to return (1-100).
  • Request Options — Optional advanced request settings including batching, SSL certificate validation, proxy, and timeout.

Output shape

a list of zone objects, each including properties such as 'id' and 'name'.

If 'Return All' is true, the operation paginates automatically to return all zones. If false, results are limited to the specified 'Limit'. Each page requests up to 100 zones from the API. The output list is filtered internally by zone name or id if a filter is applied in other contexts (not exposed as an input here). The response adheres to the Prey API's /zones endpoint structure where zones are under the 'zones' root property.

Links

Discussion