Skip to content
Hoody.com

The KV Store list endpoint enumerates the keys currently held in a SQLite-backed key-value store. Use it to discover what data exists before issuing GET, SET, or DELETE calls, or to drive cache warming, auditing, and scheduled cleanup jobs.

The endpoint takes the db query parameter to select the SQLite database (or a directory of .db files acting as a directory-mode store) and a prefix to narrow the scan. Results are paginated with limit and offset. Setting at_timestamp switches the endpoint to a time-travel mode that returns the key set as it existed at that Unix timestamp; this mode ignores offset and may append has_gaps, gap_keys, and candidate_truncated to the response envelope.

Lists keys in the KV store with optional prefix 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 -X GET "https://proj-abc123-cnt-xyz789-sqlite-1.us-east-1.containers.hoody.icu/api/v1/sqlite/kv?db=./app.db&prefix=user%3A&limit=50" \
-H "Authorization: Bearer <token>"