Preview. Start a paused sandbox again from its saved state, with its files and its processes as they were, and a new timeout. Its open network connections do not survive the pause.
AuthorizationBearer <token>Your Munito API key.
sandbox_id*stringThe id of the sandbox.
application/json- body
timeout?|Seconds from now until the sandbox pauses again: from 10 to 86400, 3600 by default.
The sandbox, running again.
application/json- response
id*stringobject?string"sandbox"status*SandboxStatuspending until it runs, then running, then stopped. failed when it did not start. A persistent sandbox is paused between a pause and a resume, and pending while it resumes.
"pending""running""paused""stopped""failed"template*stringsize*stringThe preset, or custom.
vcpus*integermemory_mib*integerdisk_gib*integerThe root disk in GiB.
internet*booleanpersistent*booleanThe sandbox keeps its files and its processes across a pause.
metadata*created_at*integerUnix seconds.
started_at*|Unix seconds, or null before the sandbox runs.
expires_at*integerUnix seconds. The sandbox stops then, or pauses when it is persistent.
ended_at*|Unix seconds, or null while the sandbox runs.
end_reason*|deleted, timeout or error, or null while the sandbox runs.
public_ports?array<integer>The ports that open without the sandbox's token.
ssh_keys?array<string>The public keys that open SSH to the sandbox.
hostname?|The name of the sandbox in its networks, or null for its id.
networks?array<>The networks that the sandbox is a member of.
curl -X POST 'https://api.munito.ai/sandboxes/v1/sandboxes/string/resume' \
-H 'Content-Type: application/json' \
-d '{}'{
"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"
}
]
}