Skip to content

List zones

GET/v1/zones

Returns the zones VMs can run in. There is currently one zone, olas-closet, which is also the default when you create a VM without a zone_slug.

This endpoint is public and needs no API key or workspace.

Authentication

This endpoint is public. No API key is needed.

Response

200

The available zones.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
namestringRequired

Display name of the zone.

slugstringRequired

Identifier to pass as zone_slug when creating a VM.

statusstringRequired

Whether the zone is accepting new VMs.

descriptionstringRequired

Short description of the zone.

defaultbooleanRequired

true for the zone used when zone_slug is omitted.