How to persist state across a container restart
POST a JSON checkpoint under a key, then GET the same key from the new container.
Run it
curl -s -X POST https://api.model.tools/api/v1/state/job-42 -H 'Content-Type: application/json' -d '{"step":2}'
Response
{"ok":true,"id":"job-42","updatedAt":"2026-10-29T02:43:00Z"}