# Session reports and data

bsln version: `0.0.1b40`

SDK source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln`

Page source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln/docs/customer/CLI-REPORTS-AND-DATA.md`

[Read on the web](https://docs.baseline-robotics.com/cli/reports-and-data/) | [Markdown](https://docs.baseline-robotics.com/cli/reports-and-data.md) | [Documentation index](https://docs.baseline-robotics.com/llms.txt)

## Get the report and recording

<a id="bsln-get-session-report"></a><a id="bsln-session-report"></a>
<a id="bsln-download-session"></a><a id="bsln-session-download"></a>

Enter the ID of an ended session to get its report and download its recording to `./data`:

```bash
bash -c '
read -r -p "Session ID: " session_id || exit 1
[[ $session_id =~ ^ses_[[:alnum:]_-]+$ ]] || { printf "%s\n" "Enter a valid session ID." >&2; exit 1; }
bsln get session-report "$session_id" --json &&
bsln download session "$session_id" --out ./data
'
```

The report has the end reason and counters. The download contains the available episode files. Use `--max-bytes` or `--max-files` to set an explicit download bound. See [report fields](https://docs.baseline-robotics.com/results.md) and the [recording format](https://docs.baseline-robotics.com/recordings.md).

## Watch a session

<a id="bsln-watch-session"></a><a id="bsln-session-watch"></a>

Enter the ID of your active session to watch it in the terminal:

```bash
bash -c '
read -r -p "Session ID: " session_id || exit 1
[[ $session_id =~ ^ses_[[:alnum:]_-]+$ ]] || { printf "%s\n" "Enter a valid session ID." >&2; exit 1; }
bsln watch session "$session_id" --no-view
'
```

Use `--view` for live Rerun playback or `--save session.rrd` to save it. Both require `bsln[viz]`. Saving can run without a display. Use `--no-frames` to save bandwidth or `--json` for newline-delimited messages without images.

Install the CLI with the viewer to use these options:

```bash
uv tool install --python 3.12 --with-executables-from rerun-sdk 'bsln[viz]==0.0.1b40'
```
