---
title: "Return status of a stream server zone"
method: GET
path: "/stream/server_zones/{streamServerZoneName}"
tags: ["Stream Server Zones", "Method GET"]
---

# Return status of a stream server zone

`GET /stream/server_zones/{streamServerZoneName}`

Returns status of a particular stream server zone.

## Query parameters

- `fields` string

## Response `200`

Success

- NginxStreamServerZone
  - `processing` integer — The number of client connections that are currently being processed.
  - `connections` integer — The total number of connections accepted from clients.
  - `sessions` object — The total number of completed sessions, and the number of sessions completed with status codes “<code>2xx</code>”, “<code>4xx</code>”, or “<code>5xx</code>”.
    - `2xx` integer — The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>2xx</code>”.
    - `4xx` integer — The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>4xx</code>”.
    - `5xx` integer — The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>5xx</code>”.
    - `total` integer — The total number of completed client sessions.
  - `discarded` integer — The total number of connections completed without creating a session.
  - `received` integer — The total number of bytes received from clients.
  - `sent` integer — The total number of bytes sent to clients.
  - `ssl` object
    - `handshakes` integer — The total number of successful SSL handshakes.
    - `handshakes_failed` integer — The total number of failed SSL handshakes.
    - `session_reuses` integer — The total number of session reuses during SSL handshake.
    - `no_common_protocol` integer — The number of SSL handshakes failed because of no common protocol.
    - `no_common_cipher` integer — The number of SSL handshakes failed because of no shared cipher.
    - `handshake_timeout` integer — The number of SSL handshakes failed because of a timeout.
    - `peer_rejected_cert` integer — The number of failed SSL handshakes when nginx presented the certificate to the client but it was rejected with a corresponding alert message.
    - `verify_failures` object — SSL certificate verification errors
      - `no_cert` integer — A client did not provide the required certificate.
      - `expired_cert` integer — An expired or not yet valid certificate was presented by a client.
      - `revoked_cert` integer — A revoked certificate was presented by a client.
      - `other` integer — Other SSL certificate verification errors.

## Other responses

- `404` — Server zone not found (*ServerZoneNotFound*), 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)
