API
kv.batch.getBatch
API
kv.batch.getBatch
Gets multiple key-value entries by key(s).
GET https://kv.api.rivet.gg/v1/entries/batch
curl -X GET 'https://kv.api.rivet.gg/v1/entries/batch'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
keysrequired
string
A string representing a key in the key-value database.
Key path components are split by a slash (e.g. a/b/c
has the path components ["a", "b", "c"]
). Slashes can be escaped by using a forward slash (e.g. a/b\/c/d
has the path components ["a", "b/c", "d"]
).
Maximum length of 512 characters.
watch_index
string
A query parameter denoting the requests watch index.
namespace_id
string
Response
entriesrequired
array
watchrequired
object
Provided by watchable endpoints used in blocking loops.
curl -X GET 'https://kv.api.rivet.gg/v1/entries/batch'