API reference | LabBench CLI reference | MCP reference | Guide: set up a lab
Drive LabBench from the terminal
labbench
| Flag | Type | Default | Description |
|---|---|---|---|
--config | string | config file (default: the user config dir's labbench/config.yaml) | |
--lab | string | lab id to use; defaults to LABBENCH_LAB, then the config file | |
--output, -o | string | table | output format: table or json |
--server | string | LabBench URL (the admin's address); defaults to LABBENCH_SERVER, then the config file | |
--token | string | API token (lbt_...), used instead of the signed-in session; prefer LABBENCH_TOKEN, since a flag shows in ps and shell history |
labbench billing | The lab's subscription (lab managers only) |
labbench categories | The lab's item categories |
labbench checkouts | Take stock and return it |
labbench items | What the lab has on hand |
labbench join | Join a lab with your invite link, setting your kiosk PIN |
labbench kiosks | Manage paired kiosks |
labbench lab | Labs |
labbench locations | Freezers, fridges, shelves and other storage |
labbench log | Read bounded lab activity evidence |
labbench login | Sign in, or store an API token with --token |
labbench lots | Receive and correct delivered lots |
labbench materials | Materials the lab holds, with their lots and default stock |
labbench mcp | Serve the CLI's commands as MCP tools over stdio |
labbench members | Lab members |
labbench organizations | Your organizations |
labbench outflows | Stock that was used up |
labbench policy-acceptances | Your recorded Terms and Privacy Policy acceptances |
labbench reconciliation | Checkouts still to reconcile |
labbench reports | Read inventory reports |
labbench setup | Optional first-time lab setup |
labbench shipments | Read received shipments and what of them waits to be put away |
labbench studies | Studies managed by this lab |
labbench tokens | List and revoke your API tokens (needs a signed-in session) |
labbench whoami | Show the signed-in account, its lab and role |