Start
Quickstart
One key starts a sandbox on any provider. Four steps, about two minutes.
1. Get a key
- In the dashboard, open API keys in the sidebar.
- Click New API key and name it after your app or agent.
- Copy the key. It is shown once.
Your workspace id (wsp_…) is in the dashboard's address bar. The dashboard's own examples have it filled in.
2. Start a sandbox
Terminal
KEY=anx_live_…
curl -X POST https://annex.eversonder.com/v1/workspaces/wsp_…/sandboxes \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"route": "cheapest"}'The answer has the sandbox's id (sbx_…). Use it below. The size is 2 vCPU and 4 GiB unless you send vcpu and memory_gib.
3. Run a command
Terminal
curl -X POST "https://annex.eversonder.com/v1/workspaces/wsp_…/sandboxes/sbx_…/commands?wait=60" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"command": "python3 --version"}'wait=60 holds the answer until the command ends (60 s at most), with its output.
4. Stop it
Terminal
curl -X POST https://annex.eversonder.com/v1/workspaces/wsp_…/sandboxes/sbx_…/stop -H "Authorization: Bearer $KEY"Stopping ends its bill. Sandboxes also stop by themselves after an hour unused.
Where it runs
| route | Picks |
|---|---|
cheapest | The cheapest account that fits. |
fastest | The one that starts quickest. |
e2b | That provider only (any provider name works). |
If one can't start it, Annex tries the next. More in Routing.
Who pays
- Your own provider accounts (Connections): the default; the provider bills you. See Connect your providers.
- Annex credit (Credit, in early access): no provider account needed; a start that sends
use_credit: trueruns on Annex's own accounts and Annex charges your credit. See Annex credit.
From a coding agent
Claude Code, Cursor and other MCP clients use the same key. One command: Connect your agent.
Keep keys safe
- One key per app or agent, so you can revoke one alone.
- Never put a key inside a sandbox: each sandbox has its own short-lived token.
- Revoke a key in API keys; it stops working at once.