---
title: "Get Zone"
method: GET
path: "/api/v1/zones/{zone}"
tags: ["Zone"]
---

# Get Zone

`GET /api/v1/zones/{zone}`

Get this zone, all dns records

## Path parameters

- `zone` string, required

## Response `200`

zone details

- CreateZone
  - `status` string
  - `data` Zone
    - `id` string
    - `name` string — The name of the zone, “liara.ir”, max length: 253, pattern: ^([a-zA-Z0-9][\-a-zA-Z0-9]*\.)+[\-a-zA-Z0-9]{2,20}$
    - `status` string — The status of the zone, valid values: [CREATING, PENDING, ACTIVE, DELETING]
    - `currentNameServers` string[]
    - `nameServers` string[]
    - `lastCheckAt` string — Last time when zones nameservers was checked
    - `createdAt` string — Time when zone was created

## Other responses

- `401` — Missing authentication
- `404` — Zone does not exists.

---

[API](https://skmtc.net/liara-cloud/apis/dns.md) · [All operations](https://skmtc.net/liara-cloud/apis/dns/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liara-cloud/dns/versions/85a963889e53/schema)
