Hanzo
OpenapiCloudflare

Read a Workers KV value as its stored bytes

Answers one KV key's value from the org's OWN Cloudflare account as RAW BYTES under the content type it was written with — not wrapped in a JSON envelope,…

GET /v1/cloudflare/kv/namespaces/{namespace}/values/{key}

Addresshttps://api.hanzo.ai/v1/cloudflare/kv/namespaces/{namespace}/values/{key}
MethodGET
Operationget_cloudflare_kv_namespaces_by_namespace_values_by_key
AuthAuthorization: Bearer $HANZO_API_KEY

Answers one KV key's value from the org's OWN Cloudflare account as RAW BYTES under the content type it was written with — not wrapped in a JSON envelope, which is why this is not a typed op. Any org member may read. A key that does not exist is Cloudflare's own 404; an invalid namespace, or a key that is empty, over 512 bytes, not valid UTF-8, or carries a control character, is 400; 503 if the org has never connected a Cloudflare token.

Request

2 fields.

FieldInTypeRequiredDescription
namespacepathstringyes
keypathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo cloudflare kv namespaces values get <namespace> <key>

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page