Guides

Routing

Annex picks the account and region when a sandbox starts, and tries the next one if a provider can't start it. A running sandbox never moves by itself; carrying on is how work survives a provider ending one.

Routes

routePicks
cheapestThe lowest price for the size asked, across connected accounts (your own servers at their own rate, $0 by default).
fastestThe quickest to start, from start-ups Annex measured in each region over 7 days; a near tie (within 15%) goes to the cheaper.
daytonaA named provider: only that one (each of its accounts in turn).

A workspace can set a default route (Settings › How Annex picks), so requests may leave it out, and lock it so they can't override it.

Regions and areas

region pins one region (eu-london, us-east, ap-sydney…); an area means any region in it: us, americas, eu, europe, apac, me, af. GET …/regions lists them.

Allow, deny and order

  • regions and providers: allow lists for this request.
  • ignore: never use these providers.
  • order: try these providers first, in this order, then the rest.
  • fallbacks: false: one attempt only.
  • isolation (container, gvisor, vm) and requires (amd64, arm64, long_lifetime): only accounts known to meet them. The older pause_resume requirement is accepted, but every sandbox can now pause.

A workspace can set its own allow and never-use lists; a request can only narrow them.

The dry run

POST …/sandboxes/route takes the same body as create and starts nothing. It answers the order Annex would try, why each account is there, what is excluded and why, and the smallest changes that would make an excluded one usable. Over MCP: sandbox_create with dry_run: true.

Terminal
KEY=anx_live_…; A=https://annex.eversonder.com/v1/workspaces/wsp_…   # your key and workspace
curl -s -X POST $A/sandboxes/route -H "Authorization: Bearer $KEY" \
  -H 'Content-Type: application/json' -d '{"route":"fastest","region":"eu","vcpu":2,"memory_gib":4}'

Why here

Every sandbox keeps its routing decision (routing on the sandbox): what it was ranked by, why the winner won, and who was left out. Accounts that failed or started slowly in the last 15 minutes go behind healthy ones, with the reason.