retentionPolicy.mode to
delete_oldest to delete the oldest eligible checkpoint of the same type first
so the new checkpoint can be created.path idstringrequiredbody namestringrequiredbody kindstringdefault: fullfull to preserve disk, memory, and CPU state, or
disk_only to preserve only disk state with a larger per-sandbox limit.body retentionPolicyobject{ "mode": "delete_oldest", "maxCount": 10 }
for full checkpoints or { "mode": "delete_oldest", "maxCount": 100 } for
disk-only checkpoints to delete the oldest eligible checkpoint of the same
type before creating a new one.12345678{ "id": "cp-abc123", "sandboxID": "sb-abc123", "name": "before-migration", "status": "processing", "sizeBytes": 0, "createdAt": "2025-01-15T10:30:00Z" }