Read a value back to the terminal

kv

// what it does

Fetches a single value and prints it. `--text` forces readable UTF-8 output instead of a raw byte dump. The fastest way to confirm what your Worker actually stored under a key.

// shell

$ wrangler kv key get KEY --binding=SESSIONS --text

// gotcha

Without `--text`, binary is written straight to stdout. Reading a key that doesn't exist returns an error/empty output, not a stored `null`.