Menu
Platform
AI
App store purchases
Database
Flags
Jobs and cron
Localization
Monitoring
Notifications
Payments
Queues
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
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
| Field | Type | What it is |
|---|---|---|
namespace_id | string | The namespace's id. Required. |
key | string | The hash's key. Required. |
fields | string[] | The fields' names. Required. |
#Response
| Field | Type | What it is |
|---|---|---|
fields | HashField[] | One per field asked, in order; an absent field has no value. |
#HashField
| Field | Type | What it is |
|---|---|---|
field | string | The field's name. Required. |
value | bytes | The bytes, base64; unset when the field is absent. |
#Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.
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":"…"}'