How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cloudflare KV Workers KV Namespace API

The Workers KV Namespace API from Cloudflare KV — 8 operation(s) for workers kv namespace.

Cloudflare KV Workers KV Namespace API is published by Cloudflare KV on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workers KV Namespace. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 14 operations across 8 paths, and defines 27 schemas. It is described by OpenAPI 3.2.0, at version 4.0.0.

Requests are made against a single base URL, https://api.cloudflare.com/client/v4.

14 operations 8 paths 27 schemas 3 DELETE5 GET3 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.0.0
Base URL
https://api.cloudflare.com/client/v4
Resource Areas
1

Paths & Operations 14

Across 8 paths, the API surfaces 14 operations — 3 DELETE, 5 GET, 3 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Workers KV Namespace 14
GET
/accounts/{account_id}/storage/kv/namespaces
List Namespaces
workers-kv-namespace-list-namespaces 5 params → 4XX200
POST
/accounts/{account_id}/storage/kv/namespaces
Create a Namespace
workers-kv-namespace-create-a-namespace 1 param body → 4XX200
DELETE
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}
Remove a Namespace
workers-kv-namespace-remove-a-namespace 2 params body → 4XX200
GET
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}
Get a Namespace
workers-kv-namespace-get-a-namespace 2 params → 4XX200
PUT
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}
Rename a Namespace
workers-kv-namespace-rename-a-namespace 2 params body → 4XX200
DELETE
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulkdeprecated
Delete multiple key-value pairs
workers-kv-namespace-delete-multiple-key-value-pairs-deprecated 2 params body → 4XX200
PUT
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk
Write multiple key-value pairs
workers-kv-namespace-write-multiple-key-value-pairs 2 params body → 4XX200
POST
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/delete
Delete multiple key-value pairs
workers-kv-namespace-delete-multiple-key-value-pairs 2 params body → 4XX200
POST
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/get
Get multiple key-value pairs
workers-kv-namespace-get-multiple-key-value-pairs 2 params body → 4XX200
GET
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/keys
List a Namespace's Keys
workers-kv-namespace-list-a-namespace'-s-keys 5 params → 4XX200
GET
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/metadata/{key_name}
Read the metadata for a key
workers-kv-namespace-read-the-metadata-for-a-key 3 params → 4XX200
DELETE
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}
Delete key-value pair
workers-kv-namespace-delete-key-value-pair 3 params body → 4XX200
GET
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}
Read key-value pair
workers-kv-namespace-read-key-value-pair 3 params → 4XX200
PUT
/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}
Write key-value pair with optional metadata
workers-kv-namespace-write-key-value-pair-with-metadata 5 params body → 4XX200

Schemas 27

The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are workers-kv_result_info (4 properties), workers-kv_api-response-common-failure (4 properties), workers-kv_key (3 properties), workers-kv_namespace (3 properties). Each schema is shown below with its type and property counts.

workers-kv_bulk_delete
array
workers-kv_expiration_ttl
number
Expires the key after a number of seconds. Must be at least 60.
workers-kv_key_name
string
A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.
workers-kv_bulk-get-result-with-metadata
object
1 property
workers-kv_any
workers-kv_result_info
object
4 properties
workers-kv_cursor_result_info
object
2 properties
workers-kv_bulk-get-result
object
1 property
workers-kv_key
object
A name for a value. A value stored under a given key may be retrieved via the same key.
3 properties 1 required
workers-kv_api-response-collection
object
workers-kv_create_rename_namespace_body
object
1 property 1 required
workers-kv_bulk-result
object
2 properties
workers-kv_namespace_identifier
string
Namespace identifier tag.
workers-kv_metadata
workers-kv_value
A byte sequence to be stored, up to 25 MiB in length.
workers-kv_api-response-common
object
3 properties 3 required
workers-kv_key_name_bulk
string
A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.
workers-kv_cursor
string
Opaque token indicating the position from which to continue when requesting the next set of records if the amount of list results was limited by the limit para…
workers-kv_bulk_write
array
workers-kv_api-response-common-no-result
workers-kv_expiration
number
Expires the key at a certain time, measured in number of seconds since the UNIX epoch.
workers-kv_list_metadata
workers-kv_messages
array
workers-kv_api-response-common-failure
object
4 properties 4 required
workers-kv_identifier
string
Identifier.
workers-kv_namespace
object
3 properties 2 required
workers-kv_namespace_title
string
A human-readable string name for a Namespace.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cloudflare-kv-workers-kv-namespace-api-openapi.yml Raw ↑
Where this information came from

This is an independent, third-party profile of Cloudflare KV Workers KV Namespace API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.