---
title: "Return status of an HTTP location zone"
method: GET
path: "/http/location_zones/{httpLocationZoneName}"
tags: ["HTTP Location Zones", "Method GET"]
---

# Return status of an HTTP location zone

`GET /http/location_zones/{httpLocationZoneName}`

Returns status of a particular HTTP [location zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone_location).

## Query parameters

- `fields` string

## Response `200`

Success

- NginxHTTPLocationZone
  - `requests` integer — The total number of client requests received from clients.
  - `responses` object — The total number of responses sent to clients, the number of responses with status codes “<code>1xx</code>”, “<code>2xx</code>”, “<code>3xx</code>”, “<code>4xx</code>”, and “<code>5xx</code>”, and the number of responses per each status code.
    - `1xx` integer — The number of responses with “<code>1xx</code>” status codes.
    - `2xx` integer — The number of responses with “<code>2xx</code>” status codes.
    - `3xx` integer — The number of responses with “<code>3xx</code>” status codes.
    - `4xx` integer — The number of responses with “<code>4xx</code>” status codes.
    - `5xx` integer — The number of responses with “<code>5xx</code>” status codes.
    - `codes` object — The number of responses per each status code.
      - `codeNumber` integer — The number of responses with this particular status code.
    - `total` integer — The total number of responses sent to clients.
  - `discarded` integer — The total number of requests completed without sending a response.
  - `received` integer — The total number of bytes received from clients.
  - `sent` integer — The total number of bytes sent to clients.

## Other responses

- `404` — Location zone not found (*LocationZoneNotFound*), unknown version (*UnknownVersion*)

---

[API](https://skmtc.dev/nginx/apis/nginx-plus-rest-api.md) · [All operations](https://skmtc.dev/nginx/apis/nginx-plus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nginx/nginx-plus-rest-api/revisions/533ae7834228/schema)
