> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SandboxStatus

> Valeurs de statut du cycle de vie d’une sandbox.

Source : [src/cwsandbox/\_sandbox.py:286](https://github.com/coreweave/cwsandbox-client/blob/v1.14.2/src/cwsandbox/_sandbox.py#L286)

Valeurs de statut du cycle de vie d’une sandbox.

Cycle de vie : CREATING | PREPARING -> RUNNING -> TERMINATING -> COMPLETED | FAILED

<h2 id="members">
  Membres
</h2>

* `RUNNING` = `'running'`
* `CREATING` = `'creating'`
* `PREPARING` = `'preparing'`
* `PENDING` = `'pending'`
* `PAUSED` = `'paused'`
* `TERMINATING` = `'terminating'`
* `COMPLETED` = `'completed'`
* `FAILED` = `'failed'`
* `TERMINATED` = `'terminated'`
* `UNSPECIFIED` = `'unspecified'`

<h2 id="methods">
  Méthodes
</h2>

<h3 id="from_proto">
  from\_proto
</h3>

```python theme={"system"}
from_proto(proto_status: int) -> SandboxStatus
```

Convertit l’enum protobuf State en SandboxStatus.

<h3 id="to_proto">
  to\_proto
</h3>

```python theme={"system"}
to_proto() -> int
```

Convertit SandboxStatus en enum protobuf State.
