Sandboxes
Create a new sandbox
Creates a sandbox and returns immediately with status: starting. The VM boots asynchronously. Poll GET /sandboxes/{id} until status is active before running commands.
post/sandboxes
Request body
Example request
{
"network": {
"allow_out": [
"api.openai.com",
"*.github.com",
"8.8.8.8/32"
],
"deny_out": [
"0.0.0.0/0"
]
}
}Response
Sandbox created