Skip to main content
POST
Prepare a sandbox image from a Dockerfile

Authorizations

Authorization
string
header
required

Bearer token authentication. Provide your API token prefixed with "Bearer ", e.g. "Bearer your-api-token".

Body

application/json

Canonical build recipe

Canonical build recipe

archive_bytes
integer
required
build_options_hash
string
required
context_hash
string
required
dockerfile_hash
string
required
recipe_hash
string
required
ssh_public_key
string
required
display_name
string
gatedFeatures
object

Response

OK

attempt
integer
created_at
string
display_name
string
failure
string
failure_code
string
id
string
managed_digest
string
managed_reference
string
size_bytes
integer
source_type
string
state
enum<string>
Available options:
BUILDING,
READY,
FAILED
updated_at
string
upload
object