Cloudflare KV · Schema

Key

A name for a value. A value stored under a given key may be retrieved via the same key.

Key-Value StoreEdge ComputingCloudflare WorkersDistributed StorageGlobal DatabaseCacheConfiguration Management

Properties

Name Type Description
expiration number The time, measured in number of seconds since the UNIX epoch, at which the key will expire. This property is omitted for keys that will not expire.
metadata object
name object
View JSON Schema on GitHub

JSON Schema

workers-kv_key.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/cloudflare-kv/json-schema/workers-kv_key.json",
  "title": "Key",
  "description": "A name for a value. A value stored under a given key may be retrieved via the same key.",
  "properties": {
    "expiration": {
      "description": "The time, measured in number of seconds since the UNIX epoch, at which the key will expire. This property is omitted for keys that will not expire.",
      "example": 1577836800.0,
      "type": "number"
    },
    "metadata": {
      "$ref": "#/components/schemas/workers-kv_list_metadata"
    },
    "name": {
      "$ref": "#/components/schemas/workers-kv_key_name"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}