List namespaces to recover a lost id

kv

// what it does

Dumps every KV namespace on the account as JSON with title and id. Reach for it when you've lost the id of an existing namespace or need to reconcile your config against what actually exists on the account.

// shell

$ wrangler kv namespace list
$ wrangler kv namespace list | jq '.[] | {title, id}'

// gotcha

Output shows the title (often `<worker>-<binding>`) and id — not the binding name from your config. Match by title to find the right id.