Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Get in Objects

Reads an object and its bytes (`body`, base64).

Reads an object and its bytes (body, base64).

  • Path GET https://api.data.sylphx.com/v1/objects/bucket-id/key
  • Scope data:read
  • Effect read — nothing is written.
  • Collection objects
  • Query version
  • Host https://api.data.sylphx.com

#Request

FieldTypeWhat it is
bucket_idstringThe bucket's id. Required.
keystringThe object key. Required.
versionuint64Zero reads the current version; a positive value reads that version.

#Response

FieldTypeWhat it is
objectObjectRecordThe object's metadata.
bodybytesThe bytes, base64.

#ObjectRecord

FieldTypeWhat it is
bucket_idstringThe bucket's id in the environment, for example uploads.
keystringThe object key; / separates path segments.
sha256stringsha256:<hex> of the bytes.
sizeuint64Size in bytes.
content_typestringThe media type given at put.
etagstringThe entity tag of this version.
versionuint64The version, increasing per key.
updated_at_unix_msint64When this version was written, in Unix milliseconds.
delete_markerboolWhether this version is a delete marker (exact-version reads only).
visibilitystringpublic or private (the default); current version only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.data.sylphx.com/v1/objects/bucket-id/key" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"