v50

OpenAPI 3.0.0raw.githubusercontent.com2026-08-015895110.3 KB
templates

Create template

Create a new template

post/templates

Request body

aliasstring

Alias of the template

dockerfilestring required

Dockerfile for the template

teamIDstring

Identifier of the team

startCmdstring

Start command to execute in the template after the build

readyCmdstring

Ready check command to execute in the template after the build

cpuCountinteger

CPU cores for the sandbox

memoryMBinteger

Memory for the sandbox in MiB

Response

The build was accepted

templateIDstring required

Identifier of the template

buildIDstring required

Identifier of the last successful build for given template

cpuCountinteger required

CPU cores for the sandbox

memoryMBinteger required

Memory for the sandbox in MiB

diskSizeMBinteger required

Disk size for the sandbox in MiB

publicboolean required

Whether the template is public or only accessible by the team

aliasesstring[] required

Aliases of the template

createdAtstring date-time required

Time when the template was created

updatedAtstring date-time required

Time when the template was last updated

lastSpawnedAtstring date-time nullable required

Time when the template was last used

spawnCountinteger required

Number of times the template was used

buildCountinteger required

Number of times the template was built

envdVersionstring required

Version of the envd running in the sandbox