Skip to main content
POST
Branch one or more computers from a computer, checkpoint, or tag.

Authorizations

Authorization
string
header
required

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

Body

application/json

Create one or more computers from a computer or checkpoint source.

source
object
required

The computer or checkpoint reference to branch from.

Computer sources are first checkpointed, then restored. Checkpoint sources are restored directly. Repository forks are a separate repository-copy operation and are not represented here.

count
integer<int32> | null

Number of computers to create. Defaults to one.

Required range: x >= 0
project_id
string<uuid> | null

Create the computers in this project instead of inheriting the source project.

Response

Computers created

Computers created by a branch request.

A multi-computer request may create a prefix of the requested batch before encountering an error. In that case the server returns those computers and the error together, using the error's HTTP status.

computers
object[]
required
error
string | null