1) Register and get an API key
2) Create a sandbox
3) Execute a command
execute is synchronous and returns when the command exits, so a long build
holds the connection open for its whole duration. Bound it with the sandbox’s
timeout_seconds rather than your client’s HTTP timeout — a client that gives
up first leaves the command running and the sandbox billing.4) Write a file
SGVsbG8h above
is Hello!. Sending raw text writes the literal characters of your string, not
the bytes you meant.
5) Read a file
This flow creates one sandbox and stops it. When an agent needs to keep
working past a single sandbox’s lifetime, use an
agent session instead —
it carries a budget and rotates the sandbox underneath while keeping context.
6) Stop the sandbox
Next steps
Sandbox quickstart
The same flow through an SDK rather than curl.
API reference
Every endpoint, with parameters and responses.
Runtime selection
Container, gVisor or MicroVM, and what each costs in start-up time.
Security guide
Before this runs anything you did not write.