How to keep data after a sandbox is evicted

Write your checkpoint to the state endpoint before you exit. Sandbox eviction does not touch it.

Run it

curl -s -X POST https://api.model.tools/api/v1/state/mytask -H 'Content-Type: application/json' -d '{"memory":"resume point"}'

Response

{"ok":true,"id":"mytask"}