Skip to content

Get defaults

GET
/api/v1/defaults

Returns server-resolved default values for the create container form, including the host home directory and auto-detected bind mounts.

OK

object
containerHomeDir
string
envVars
Array<object>
object
key
string
value
string
homeDir
string
mounts
Array<object>
object
agentType

AgentType restricts this mount to a specific agent type. Empty means the mount applies to all agent types.

string
containerPath
string
hostPath
string
readOnly
boolean
required

Required marks this mount as mandatory for the agent to function. Clients must not allow users to remove or change the container path of required mounts.

boolean
restrictedDomains
object
key
additional properties
Array<string>
runtimes

Runtimes lists available language runtimes with detection results.

Array<object>
object
alwaysEnabled

AlwaysEnabled means this runtime cannot be deselected.

boolean
description

Description briefly explains what gets installed.

string
detected

Detected is true when marker files were found in the project directory.

boolean
domains

Domains lists network domains required for this runtime’s package registry.

Array<string>
envVars

EnvVars maps environment variable names to values set when enabled.

object
key
additional properties
string
id

ID is the unique identifier (e.g. “node”, “python”, “go”).

string
label

Label is the human-readable name (e.g. “Node.js”, “Python”).

string
template

Template holds project template values loaded from .warden.json, if present.

object
agents
object
key
additional properties
object
allowedDomains
Array<string>
costBudget
number
forwardedPorts
Array<integer>
image
string
networkMode

NetworkMode controls the container’s network isolation level.

string
Allowed values: full restricted none
runtimes
Array<string>
skipPermissions
boolean