get_termination_reason# SandboxRuntime.get_termination_reason(instance_id: str) → str | None[source]# Report an unexpected runtime exit, including a cgroup OOM kill. Parameters: instance_id (str) – Sandbox instance ID. Returns: Why the sandbox stopped unexpectedly, or None if it’s running or this runtime no longer tracks it. Return type: str | None