Skip to main content
POST
Start one durable computer creation.

Authorizations

Authorization
string
header
required

Vers API key (VERS_API_KEY) sent as Authorization: Bearer <key>.

Headers

Idempotency-Key
string<uuid>
required

Tenant-scoped operation identity

Body

application/json

Backward-compatible v2 computer creation union. Existing fresh creates retain their flat vm_config body; checkpoint restores select an explicit typed source instead.

vm_config
object
required

Struct representing configuration options common to all VMs

keep_alive
boolean

When true, exempt this VM from the inactivity auto-sleep. Defaults to false (eligible for auto-sleep).

project_id
string<uuid> | null

Project that will own the computer. Restricted keys with multiple grants must choose one; organization-wide keys may omit it.

remove_on_workload_exit
boolean

Delete this computer through Chelsea's durable lifecycle worker after the primary platform workload reaches a retained terminal state.

Response

Create admitted

Durable status returned by v2 mutation endpoints and operation lookups.

created_at
string<date-time>
required
cursor
integer<int64>
required

Monotonic durable progress cursor used by the event stream.

Required range: x >= 0
kind
enum<string>
required
Available options:
checkpoint,
create,
delete,
image_import
operation_id
string<uuid>
required

Caller-selected idempotency identity, scoped to the authenticated tenant.

resource
object
required
status
enum<string>
required
Available options:
pending,
succeeded,
failed,
quarantined
updated_at
string<date-time>
required
cleanup_operation_id
string<uuid> | null

Server-owned cleanup operation associated with this operation. A create using remove_on_workload_exit exposes its future delete here before the workload starts, so cleanup remains observable even after the computer is gone.

completed_at
string<date-time> | null
failure
null | object
local_result
null | object

Checkpoint available for restore on its source node while publication is pending. Losing the source data can lose this checkpoint. Only a successful operation with result certifies portability in S3.

result
null | object

Resource published by the operation. This remains absent until the operation's atomic publication boundary has committed.

stage
string | null

Current durable stage. Intermediate stages may be skipped; the stream emits a gap event when that happens.