---
title: "Return key-value pairs from an HTTP keyval zone"
method: GET
path: "/http/keyvals/{httpKeyvalZoneName}"
tags: ["HTTP Keyvals", "Method GET"]
---

# Return key-value pairs from an HTTP keyval zone

`GET /http/keyvals/{httpKeyvalZoneName}`

Returns key-value pairs stored in a particular HTTP keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone).

## Query parameters

- `key` string

## Response `200`

Success

- NginxHTTPKeyvalZone — Contents of an HTTP keyval shared memory zone when using the GET method.

## Other responses

- `404` — Keyval not found (*KeyvalNotFound*), keyval key not found (*KeyvalKeyNotFound*), 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)
