Preview. Start new sandboxes with the files and the processes of a persistent sandbox, as they are now. A running sandbox pauses for a moment and runs on; a paused one stays paused. Each new sandbox is billed on its own.
POST
header
AuthorizationBearer <token>Your Munito API key.
sandbox_id*stringThe id of the sandbox.
application/json- body
New sandboxes with the files and the processes of a persistent sandbox, which keeps running or stays paused.
count?integerThe new sandboxes, from 1 to 16. They all start, or none does.
Range
1 <= value <= 16Default
1persistent?|Whether the new sandboxes are persistent. By default they are, as their parent is.
timeout?|Seconds from now until each new sandbox stops, or pauses when it is persistent: from 10 to 86400, 3600 by default.
metadata?Your own keys and values for each new sandbox, at most 16.
The new sandboxes, running.
application/json- response
object?stringDefault
"list"data*array<>curl -X POST 'https://api.munito.ai/sandboxes/v1/sandboxes/string/fork' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"object": "list",
"data": [
{
"id": "string",
"object": "sandbox",
"status": "pending",
"template": "string",
"size": "string",
"vcpus": 0,
"memory_mib": 0,
"disk_gib": 0,
"internet": true,
"persistent": true,
"metadata": {
"property1": "string",
"property2": "string"
},
"created_at": 0,
"started_at": 0,
"expires_at": 0,
"ended_at": 0,
"end_reason": "deleted",
"public_ports": [
0
],
"ssh_keys": [
"string"
],
"hostname": "string",
"networks": [
{
"id": "string",
"name": "string",
"dns_name": "string",
"address": "string"
}
]
}
]
}