[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/kv/platform/event-subscriptions/ [Back]  [Original]

Event subscriptions Cloudflare Workers KV docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /KV
  3. /Platform
  4. /Event subscriptions

Event subscriptions

Last updated Apr 21, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewAvailable KV events

Event subscriptions allow you to receive messages when events occur across your Cloudflare account. Cloudflare products (e.g., KV, Workers AI, Workers) can publish structured events to a queue, which you can then consume with Workers or HTTP pull consumers to build custom workflows, integrations, or logic.

For more information on Event Subscriptions, refer to the management guide.

Available KV events

namespace.created

Triggered when a namespace is created.

Example:

{
  "type": "cf.kv.namespace.created",
  "source": {
    "type": "kv"
  },
  "payload": {
    "id": "ns-12345678-90ab-cdef-1234-567890abcdef",
    "name": "my-kv-namespace"
  },
  "metadata": {
    "accountId": "f9f79265f388666de8122cfb508d7776",
    "eventSubscriptionId": "1830c4bb612e43c3af7f4cada31fbf3f",
    "eventSchemaVersion": 1,
    "eventTimestamp": "2025-05-01T02:48:57.132Z"
  }
}

namespace.deleted

Triggered when a namespace is deleted.

Example:

{
  "type": "cf.kv.namespace.deleted",
  "source": {
    "type": "kv"
  },
  "payload": {
    "id": "ns-12345678-90ab-cdef-1234-567890abcdef",
    "name": "my-kv-namespace"
  },
  "metadata": {
    "accountId": "f9f79265f388666de8122cfb508d7776",
    "eventSubscriptionId": "1830c4bb612e43c3af7f4cada31fbf3f",
    "eventSchemaVersion": 1,
    "eventTimestamp": "2025-05-01T02:48:57.132Z"
  }
}
PreviousRelease notesNextWrangler KV commands

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page