Guides
Logs and limits
Every sandbox has one log: commands run through Annex and what they printed, what Annex noted (checkpoints, resumes, alerts) and, on your own servers, what the sandbox printed itself. Secret values are hidden.
Terminal
KEY=anx_live_…; A=https://annex.eversonder.com/v1/workspaces/wsp_… # your key and workspace
curl -s "$A/sandboxes/sbx_…/logs" -H "Authorization: Bearer $KEY"
# follow it live (server-sent events)
curl -N "$A/sandboxes/sbx_…/logs/stream" -H "Authorization: Bearer $KEY"Your own servers also have a server log (…/accounts/{id}/logs and …/logs/stream). MCP reads logs page by page through sandbox_list and workspace_info.
Limits
- Running at once: 20 per workspace by default (
GET …/limits; the owner changes it withPATCH …/limits). An API key can have a lower limit of its own (max_sandboxesonPATCH …/api-keys/{id}); without one it has the workspace's. - Monthly spend: optional; new starts are refused once Annex's estimate for the month reaches it.
- Sandbox size: optional workspace-wide
max_vcpuandmax_memory_gibceilings apply to the machine actually allocated. A fixed-size provider that would round above them is left out of starts, resumes, route previews and fleet plans. - Operating hours: an optional weekday, local-time and timezone window. Outside it, starts and manual resumes are refused. Annex checks each minute. By default it permanently stops allocated compute. Turn on auto-resume to pause sandboxes that are running when the window closes and resume only those same sandboxes when it opens, preserving their provider account, identity and files. This requires provider pause support; unsupported sandboxes are permanently stopped at closing and do not restart. A frozen sandbox on your own server may retain its billable allocation. An in-progress lifecycle operation or provider failure can delay the change. Overnight windows are supported.
- Lifetime and idle:
lifetime_minutes(24 h by default, up to 7 days) andidle_minutes(60 by default, 0 for off) stop a forgotten sandbox. - Usage alerts: a sandbox whose memory reaches 90% or CPU 95% (change them, or turn either off, with
alert_memory_pctandalert_cpu_pct, 50 to 100 or null) is journaled each time it crosses (at most once in 30 minutes for each), and emailed to the owner (at most one email per sandbox an hour). - Runaway alerts: CPU or memory flat out for 15 minutes, or out-of-memory kills, are journaled; Annex doesn't stop the sandbox for them.
Past a limit or outside the operating window, starts are refused with 409 limit_reached and a message naming the policy.