Skip to content
GroundboxDocs
API referenceStatusPricing
DashboardStart free
GroundboxRunners for GitHub Actions and GitLab CI, and Linux sandboxes for AI agents. One key, one bill.System status

Product

CI runnersSandboxesBuilds and cacheAgent computersUse casesPricing

Developers

DocsAPI referenceAPI explorerCLIMCP serverBenchmark

Compare

vs GitHub-hostedvs Blacksmithvs E2Bvs DaytonaAll comparisons

Company

Talk to usSupportChangelogcontact@groundbox.devGroundmail ↗
© 2026 Groundbox
TermsPrivacyllms.txt
OverviewCI in one lineFirst sandboxHand it to your agent
Sizes and labelsCachesEmail when a run failsFast checkoutBuild cachesMigrateGroundbox or GitHub firstWhen GitHub's runners are stuckCI checkupRuns, logs and insightsGroundbox status on pull requestsci waitTerminal on a jobDr. GroundbotWebhooksSlackIf a job doesn't startPublic repositoriesAuto sizeAuto size: own runnersFlexCI tune-upMerge queueSplit tests by timeAndroid buildsmacOS buildsWindows buildsArm64 LinuxDocker buildsGitLab CIForgejo and GiteaGitCafeBitbucket PipelinesAzure DevOps
Start, exec, filesCommands as rootFrom a Docker imagePrivate imagesCommandsForkTime machineSnapshotsRun your tests on sandboxesPause and resumeStop and startIdle pause and wakeScheduled runsPreviewsSecretsSecret bindingsSandbox webhooksEgress allowlistFlex sandboxesTemplatesVolumes
Push and pullIn GitHub ActionsStorage and retention
Desktop and actionsLive view in your appHuman handoffSign in onceAgent loop example
BucketsAccess keysMount a bucket
Move from Runloop
OmnaraConnect with Groundbox
REST APIAPI explorerOpenAPI referenceCLIMCP serverSDKsKeys and capsBilling and usageAgents can buyBefore the free minutes run outSupport ticketsLeave or delete a team
  1. Sandboxes
  2. Stop and start
Markdown
Open in
ClaudeChatGPT
On this page

    Stop and start

    Stop shuts a sandbox down cleanly and keeps only its disk. Memory and running processes are not kept. Start boots a fresh VM from that disk: a cold boot, with the same id, env, metadata, volumes and network rules.

    Terminal
    curl -X POST https://api.groundbox.dev/v1/sandboxes/sbx_.../stop \
      -H "Authorization: Bearer $GROUNDBOX_API_KEY"
    
    curl -X POST https://api.groundbox.dev/v1/sandboxes/sbx_.../start \
      -H "Authorization: Bearer $GROUNDBOX_API_KEY"

    Three ways to put a sandbox away:

    • Pause keeps memory, processes and disk. Resume brings it back as it was.
    • Stop keeps the disk only. Start boots it again; anything that was running has to be started again.
    • Delete ends it for good. Nothing is kept.
    • A stopped sandbox is billed for storage only, at the same rate as a paused one: $0.05 per GB-month.
    • Stopped and paused sandboxes count toward the same limit for a team, and share the 30-day rule: one that is not started or resumed in that time is deleted.
    • Its status reads shutting_down, then shut_down. The status stopped means something else: the sandbox has ended and cannot come back (a deleted sandbox reads stopped). Start takes it through starting to running, and shut_down_at says when it was stopped.
    • Each call fits one state. Start on a paused sandbox, or resume on a stopped one, answers 409 and names the call to use.
    • A sandbox with volumes cannot be paused, but it can be stopped and started. Its volumes are attached again on start.
    • Start answers 503 no_capacity when the machine that keeps the disk has no room right now. The sandbox stays stopped; try again later.

    At the timeout

    By default a sandbox that reaches its timeout is deleted. Set on_timeout when you create it to choose: "delete" (the default), "stop" to shut it down and keep its disk, or "pause" to pause it. Both work on every plan. The sandbox's on_timeout field shows what it will do.

    Terminal
    curl https://api.groundbox.dev/v1/sandboxes \
      -H "Authorization: Bearer $GROUNDBOX_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"cpus": 2, "timeout_minutes": 60, "on_timeout": "stop"}'

    In the SDKs: stop_sandbox(id) and start_sandbox(id). In the CLI: groundbox sandbox stop <id> and groundbox sandbox start <id>. For agents, the MCP tool sandbox with action stop or start.

    ← PreviousPause and resumeNext →Idle pause and wake on request
    System statusSupportPricingllms.txtgroundbox.dev