# Station and session commands

bsln version: `0.0.1b40`

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

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

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

List sessions belonging to the signed-in account and find the ID you want to inspect:

```bash
bsln list session --wide
```

## Inspect a session

```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 "$session_id" --json
'
```

| Command | Use |
| --- | --- |
| <a id="bsln-list-robot-type"></a> `bsln list robot-type` | List robot types and see station availability. Verify SDK access separately. |
| <a id="bsln-list-task"></a> `bsln list task` | List the built-in tasks visible to your account. |
| <a id="bsln-create-session"></a> `bsln create session` | Start a session only with [confirmed SDK access](https://docs.baseline-robotics.com/index.md#3-run-a-session). Pass the approved robot type to `--robot-type` and duration to `--max-occupied-s`. For a one-session pilot, pass the assigned ID to `--request-id`. Keep the command running while you attach from another terminal. |
| <a id="bsln-list-session"></a><a id="bsln-session-ls"></a> `bsln list session --wide` | Find the session ID and inspect its status. |
| <a id="bsln-get-session"></a><a id="bsln-session-show"></a> `bsln get session` | Read the server's current session record and end reason. |
| <a id="bsln-stop-session"></a><a id="bsln-session-stop"></a> `bsln stop session` | Request a normal end. Confirm the outcome before reuse. |
| <a id="bsln-estop"></a> `bsln estop` | Request an emergency stop for unexpected motion in your session. |
| <a id="bsln-reset-estop-session"></a><a id="bsln-session-reset-estop"></a> `bsln reset-estop session` | Reset your eligible stop after verifying that the station is safe. Start a new session after a successful reset. |

See [the difference between Hold, Park, End and E-stop](https://docs.baseline-robotics.com/station/commands.md#choose-hold-park-end-or-e-stop).
