kv keys
List keys
Lists the keys in a namespace. Returns key names and metadata only, never values. Results are paginated with limit and an opaque cursor.
get/storage/kvs/{id}/keys
Path parameters
idstring uuid required
KV namespace ID
Query parameters
prefixstring
Return only keys that start with this prefix.
limitinteger
Maximum number of keys to return. Values above 1000 are treated as 1000.
cursorstring
Opaque pagination cursor from a previous response's meta.cursor.
Response
Keys retrieved successfully
Example response
{
"data": [
{
"key": "user/123",
"size_bytes": 21,
"updated_at": "2026-06-18T14:48:17Z"
}
],
"record_type": "storage_kv_key"
}