The image: an artifact in Sylphx Artifacts, by digest, or template:<name> (base, desktop, browser, android). Ignored when source_snapshot is set.
kind
LeaseKind
What the machine serves; default GENERAL. One of general, browser, desktop, android.
region
string
The region; default the project's home region.
pool
string
The Pool to take a warm machine from; default the platform pool for the shape and image.
ttl
duration
The maximum wall time from grant: 1 minute to 24 hours for microVMs, 24 hours to 30 days for macOS. :renew extends it within the shape's bound. Reaching it ends the lease EXPIRED. Required.
idle_timeout
duration
End the lease IDLE after no data-plane call, stream input, or exec for this long; unset never idles out.
network
LeaseNetwork
The outbound policy. Change it on a running lease with :setNetwork.
ports
LeasePort[]
Guest ports to expose.
env
map<string, string>
Plain environment variables. Secrets bind through Sylphx Secrets, never here.
volumes
VolumeMount[]
Volumes attached at grant, each by name. A volume is attached to at most one lease at a time; a volume already attached refuses the lease with RESOURCE_IN_USE.
budget
LeaseBudget
Spend bounds beyond ttl and idle_timeout.
display
DisplaySpec
The display of a DESKTOP, BROWSER, or ANDROID lease.
browser
BrowserSpec
The browser of a BROWSER lease.
source_snapshot
string
Boot from this Snapshot's disk and image instead of image.
webhook
LeaseWebhook
Where lease events are delivered as signed webhooks, in addition to leases/*/events.
device
DeviceSpec
The device of an ANDROID lease: model and OS version. The device sets the display; display is ignored.
Deliver only these kinds; default every kind. One of granted, ready, refused, ended, renewed, network_changed, control_acquired, control_released, control_expired, budget_warning, paused, resumed.
Increases by one on every change to spec. Output only.
etag
string
Strong 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_time
timestamp
When the Resource was created. Output only.
update_time
timestamp
When the Resource last changed. Output only.
delete_time
timestamp
Set while the Resource is being deleted. Output only.
The image: an artifact in Sylphx Artifacts, by digest, or template:<name> (base, desktop, browser, android). Ignored when source_snapshot is set.
kind
LeaseKind
What the machine serves; default GENERAL. One of general, browser, desktop, android.
region
string
The region; default the project's home region.
pool
string
The Pool to take a warm machine from; default the platform pool for the shape and image.
ttl
duration
The maximum wall time from grant: 1 minute to 24 hours for microVMs, 24 hours to 30 days for macOS. :renew extends it within the shape's bound. Reaching it ends the lease EXPIRED. Required.
idle_timeout
duration
End the lease IDLE after no data-plane call, stream input, or exec for this long; unset never idles out.
network
LeaseNetwork
The outbound policy. Change it on a running lease with :setNetwork.
ports
LeasePort[]
Guest ports to expose.
env
map<string, string>
Plain environment variables. Secrets bind through Sylphx Secrets, never here.
volumes
VolumeMount[]
Volumes attached at grant, each by name. A volume is attached to at most one lease at a time; a volume already attached refuses the lease with RESOURCE_IN_USE.
budget
LeaseBudget
Spend bounds beyond ttl and idle_timeout.
display
DisplaySpec
The display of a DESKTOP, BROWSER, or ANDROID lease.
browser
BrowserSpec
The browser of a BROWSER lease.
source_snapshot
string
Boot from this Snapshot's disk and image instead of image.
webhook
LeaseWebhook
Where lease events are delivered as signed webhooks, in addition to leases/*/events.
device
DeviceSpec
The device of an ANDROID lease: model and OS version. The device sets the display; display is ignored.
The generation this status was computed from. Output only.
conditions
Condition[]
Ready, Reconciling, Stalled. Output only.
state
LeaseState
The state machine. Output only. One of requested, granted, ready, paused, ending, ended, refused.
lease_generation
int64
Increases on grant, pause, resume, and end; every token and platform command carries it, and a stale one is refused STALE_GENERATION. Output only.
short_id
string
Eight Crockford base32 characters naming the lease in data-plane routes. Output only.
endpoints
LeaseEndpoints
Data-plane addresses. Output only.
refusal
LeaseRefusal
Why the lease was refused, when state is REFUSED. Output only. One of no_capacity, no_matching_cell, shape_not_offered, shape_not_entitled, image_not_found, abuse_hold.
end_reason
EndReason
Why the lease ended, once state is ENDING or ENDED. Output only. One of released, expired, idle, cpu_budget, cost_budget, abuse, quota, org_deleted, machine_lost, boot_failed.
grant_time
timestamp
When a machine was assigned. Output only.
ready_time
timestamp
When the guest became ready. Output only.
expire_time
timestamp
When the lease ends unless renewed. Output only.
end_time
timestamp
When the lease ended. Output only.
usage
LeaseUsage
What the lease has consumed so far. Output only.
control
ControlState
Who holds input control of the display. Output only.
display
DisplayInfo
The effective display, for kinds that have one. Output only.
network
LeaseNetwork
The effective outbound policy, including the ranges always blocked. Output only.
Deliver only these kinds; default every kind. One of granted, ready, refused, ended, renewed, network_changed, control_acquired, control_released, control_expired, budget_warning, paused, resumed.
The guest daemon: the E2B envd protocol (Connect-RPC process.Process, filesystem.Filesystem, HTTP /files), routed by the E2b-Sandbox-Id header, for streaming exec and PTYs. Output only.
cdp_uri
string
The Chrome DevTools Protocol WebSocket of a BROWSER lease. Output only.
e2b_sandbox_id
string
The E2B sandbox id this lease answers to on the E2B-compatible API. Output only.