Observations and recordings
Read an ended session’s report
Section titled “Read an ended session’s report”From the Quickstart Python project, enter the ID of an ended session:
uv run python -c 'from bsln.sdk import Client
session_id = input("Session ID: ").strip()with Client() as client: print(client.session_report(session_id)["end_reason"])'| Method | Result |
|---|---|
client.session_report(session_id) |
An ended session’s report, with end reason and available counters. |
client.snapshot(...), session.snapshot(...) |
Robot state and requested camera observations. Check state and frame timings separately. |
client.session_description(...) |
The robot’s joint and camera configuration. Use client.session_model(...) for the model assets associated with your session. |
client.session_lights(...), client.set_session_lights(...) |
Read or change the lights on a station that supports dimming. |
client.download_session(session_id, "./data") |
Extract the recording bundle and return its local path. The default limits are 20 GiB for download and extraction and 400,000 files. Set max_bytes or max_files when you expect a larger archive. |