Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Hash get many in KV

Reads several fields of a hash (HMGET), one per field, in order; an absent field has no `value`.

Reads several fields of a hash (HMGET), one per field, in order; an absent field has no value.

  • Path POST https://api.data.sylphx.com/v1/kv-hash-mget
  • Scope data:read
  • Effect read — nothing is written.
  • Collection kv
  • Host https://api.data.sylphx.com

#Request

FieldTypeWhat it is
namespace_idstringThe namespace's id. Required.
keystringThe hash's key. Required.
fieldsstring[]The fields' names. Required.

#Response

FieldTypeWhat it is
fieldsHashField[]One per field asked, in order; an absent field has no value.

#HashField

FieldTypeWhat it is
fieldstringThe field's name. Required.
valuebytesThe bytes, base64; unset when the field is absent.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.data.sylphx.com/v1/kv-hash-mget" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fields":["…"],"key":"…","namespace_id":"…"}'