How do I fetch a unit's latest test run via the TofuPilot API?
Updated July 7, 2026
Query runs.list filtered by serial number, sorted by start time descending with limit=1. For per-unit lifetime views in the dashboard, use the Unit Explorer.
Related questions
- Can instrument connections stay open across an entire unit or station session?Yes. Plugs have a lifecycle scope: phase, slot, run, or station. With scope: station, the plug class is constructed once in a long-lived Python process, its…
- What is TofuPilot's relationship with OpenHTF?We've used TofuPilot for years on drone manufacturing floors and maintain openhtf.org, the open-source OpenHTF documentation site. We're also close to the…
- Can I sync TofuPilot test failures to Linear?Yes. The Linear integration lets failing runs and phases open or update tickets from the dashboard. It offers two actions: Create issue (with optional…
