Skip to content

List all keys in the KV store with optional filtering and pagination. Supports prefix filtering, standard pagination via limit/offset, and historical time-travel queries via at_timestamp.

NameInTypeRequiredDescription
dbquerystringYesDatabase file path or directory
tablequerystringNoCustom table name. Default: "kv_store"
prefixquerystringNoFilter keys by prefix
limitqueryintegerNoMaximum number of results. Default: 100
offsetqueryintegerNoSkip N results for pagination (regular LIST only; ignored when at_timestamp is set). Default: 0
at_timestampqueryintegerNoUnix timestamp for time-travel LIST (selects handleKVListAtTimestamp; returns a different envelope and ignores offset)

This endpoint accepts no request body.

Terminal window
curl -G "https://api.hoody.com/api/v1/sqlite/kv" \
-H "Authorization: Bearer <token>" \
--data-urlencode "db=./app.db" \
--data-urlencode "prefix=user:" \
--data-urlencode "limit=50"