Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Get a sandbox shape

Gets a shape.

Gets a shape.

  • Path GET https://api.sylphx.com/v1/sandbox_shapes/shape
  • Scope sandboxes:read
  • Effect read — nothing is written.
  • Collection sandbox_shapes

#Request

FieldTypeWhat it is
namestringThe name of the shape to get. Required.

#Response

FieldTypeWhat it is
namestringsandbox_shapes/{shape}.
uidstringshp_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
osShapeOsThe operating system. Output only. One of linux, macos.
vcpu_countint32vCPUs; for a whole host, its cores. Output only.
memory_mibint32Memory in MiB. Output only.
disk_gibint32Disk in GiB. Output only.
capabilitystringThe cell capability Placement matches, for example kata or macos. Output only.
min_lease_durationdurationThe shortest lease; 24 hours for macOS. Output only.
max_lease_durationdurationThe longest lease. Output only.
offeredboolWhether the shape is sold now. A lease of an unsold shape is refused SHAPE_NOT_OFFERED. Output only.
price_micros_per_secondint64The list price of one second of this shape, in millionths of a US dollar; 0 for a class that is not priced. spec.budget.max_cost_micros is measured against it; the invoice is Sylphx Billing's. Output only.
kindsLeaseKind[]The lease kinds this shape can serve. Output only. One of general, browser, desktop, android.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/sandbox_shapes/shape" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"