Skip to content

List and discover keys stored in the Hoody SQLite-backed KV store. This endpoint supports prefix filtering, pagination, and historical (time-travel) key listing via at_timestamp. Use these operations when you need to enumerate stored keys, inspect the keyspace at a previous point in time, or paginate through very large key sets.

List all keys in the KV store with optional filtering and pagination.

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"