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

# anona-compute timeout

> Set how long a sandbox lives from now

> [!NOTE]
>
> The CLI takes positive durations. To remove the deadline (`-1`), use the API, the dashboard or the MCP `extend_sandbox` tool; see [Lifecycle](https://docs.anonalabs.com/compute/concepts/lifecycle.md).

```text theme={null}
Set the sandbox timeout (POST /sandboxes/{id}/timeout). The sandbox ends
DURATION from now (e.g. 600, 10m, 2h); each call replaces the previous value.
```

## Usage

```text theme={null}
anona-compute timeout SANDBOX_ID DURATION [flags]
```

**Aliases:** `timeout`, `extend`

## Flags

| Flag | Type | Description |
| - | - | - |
| `--help`, `-h` | | help for timeout |

Global flags (`--api-key`, `--api-url`, `--json`, `--output`, `--profile`, `--request-timeout`, `--verbose`) work on every command; see [anona-compute](https://docs.anonalabs.com/compute/cli/reference/anona-compute.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.