# kosa8 cloud logs

Show a cloud sandbox's last commands, with exit codes and output tails (-f to follow)

## Usage

```
kosa8 cloud logs ID
```

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--follow, -f` | bool | keep printing each new command as it finishes |  |
| `--limit, -n` | int | how many commands (1 to 200) | `50` |

## Example

```
  kosa8 cloud logs sbx_…
  kosa8 cloud logs -f sbx_…      # print each new command as it finishes (Ctrl-C to stop)
  kosa8 cloud logs sbx_… --json -n 10
```

---
Source: https://docs.kosa8.com/reference/cloud-logs/
