Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Hash get in KV

Reads one field of a hash (HGET); an absent field has no `value`.

Reads one field of a hash (HGET); an absent field has no value.

  • Path POST https://api.data.sylphx.com/v1/kv-hash-gets
  • 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.
fieldstringThe field's name. Required.

#Response

FieldTypeWhat it is
valuebytesThe bytes, base64; unset when the field or the hash is absent.

#Errors

Every error arrives in the body Errors describes.

#Examples

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