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

# Sandboxes auflisten

export const SandboxCliConfigHint = () => {
  if (typeof document === "undefined") {
    return null;
  } else {
    return <Note>Before running the command-line related example code in this document, please refer to the <Link href="/docs/de/guides/sandbox-cli">tutorial</Link> to install the CLI and complete <Link href="/docs/de/guides/sandbox-cli-auth">authentication</Link>.</Note>;
  }
};

<SandboxCliConfigHint />

### Alle laufenden Sandboxes auflisten

Um alle laufenden Sandboxes aufzulisten, verwenden Sie den folgenden Befehl:

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox list
```

### Nach Status filtern

Verwenden Sie das Flag `--state`, um Sandboxes nach Status zu filtern. Unterstützte Werte sind "**running**", "**paused**" oder beide.
Um beispielsweise sowohl laufende als auch pausierte Sandboxes abzurufen:

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox list --state running,paused
```

### Nach Metadaten filtern

Verwenden Sie das Flag `--metadata`, um Sandboxes nach Metadaten zu filtern.

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox list --metadata key1=value1,key2=value2
```

### Listenlimit

Verwenden Sie das Flag `--limit`, um die Anzahl der vom Befehl zurückgegebenen Sandboxes zu begrenzen.
Wenn das Flag `--limit` nicht angegeben ist, gibt der Befehl alle Sandboxes zurück.

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox list --limit 10
```
