639·Shell Alpha · looking for testers

Sandboxes

A sandbox is a machine for code you don't trust yet: something an agent just wrote, a dependency you haven't read, a script from the internet. It's an Instant machine with three differences:

Everything else is a normal machine: its own kernel, root, shells, commands, files, snapshots, the same sizes and prices, billed per second.

What a sandbox doesn't change

Make one

curl -s -X POST https://api.shell.639cloud.com/v1/machines \
  -H "Authorization: Bearer $KEY" \
  -d '{"size": "s1", "image": "python", "sandbox": true, "lifetime_seconds": 900}'

The reply says "sandbox": true and gives "expires_at", the time it will be deleted. Lists show the same, and the app marks sandboxes on My machines with the time they have left.

The lifetime

Every sandbox deleted at the end of its lifetime is in your history (sandbox-expire).

This page as Markdown: /docs/sandboxes.md