v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
kv namespaces

Create a KV namespace

Creates a new KV namespace. Provisioning is asynchronous: the namespace is returned with status pending and becomes usable once it reaches provision_ok.

post/storage/kvs

Request body

namestring required

Namespace name. May contain lowercase letters, numbers, and hyphens only.

Example request

{
  "name": "my-cache"
}

Response

KV namespace created successfully

Example response

{
  "data": {
    "created_at": "2026-06-18T14:48:17Z",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "my-cache",
    "record_type": "storage_kv",
    "status": "provision_ok",
    "updated_at": "2026-06-18T14:48:17Z"
  }
}