v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-035895111.8 KB
sandboxes

Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

post/sandboxes/{sandboxID}/fork

Path parameters

sandboxIDstring required

Request body

timeoutinteger

Time to live for the new forked sandboxes in seconds.

countinteger

Number of forked sandboxes to create. All forks boot from the same snapshot, so the snapshot is captured once regardless of count. Each fork succeeds or fails independently; the outcome of each is reported in its entry of the response list.

Response

The sandbox was snapshotted and the forks were attempted; each entry reports one fork's outcome