Skip to content
Hoody.com

: Key-Value Store

The SQLite Key-Value Store endpoints enumerate the keys persisted in a SQLite-backed KV table. This page documents the list-keys operation, which supports prefix filtering and pagination so you can discover, audit, or paginate through keys without retrieving their values.

Retrieve all keys in the KV store, optionally filtered by prefix and paginated. By default the table named kv_store is read, but a different table can be selected with the table parameter. Pass at_timestamp for a point-in-time listing against the historical view.

GET /api/v1/sqlite/kv

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 takes no request body.

Terminal window
curl -X GET "https://67e89abc123def456789abcd-890abcdef12345678901cdef-sqlite-1.node-us.containers.hoody.com/api/v1/sqlite/kv?db=./app.db&prefix=user:&limit=50" \
-H "Authorization: Bearer <token>"