Data and help

Scripts, instruments and other tools

Read and write your lab's data from scripts, R and instruments.

Lab server or desktop

BioManager has an API: other programs can read the lab's records, and change them, as you. Pull an experiment's body weights straight into R or Python, have a balance post each weight as it weighs, let a core's system mark samples as done, or count cages for the facility — without anyone exporting a sheet.

  1. Settings → API tokens: say what will use it (Balance in B12, My R scripts), whether it may Read or Read and change, and when it ends. Make a token.
  2. Copy the token: it is shown once. Treat it like your password, and keep it out of scripts you share (an environment variable is the usual place).
  3. Send it with each request, as Authorization: Bearer bmt_…. The API reference (the link on the same card, or /api on your BioManager) lists everything it can read and change, with examples in curl, Python and R.
Was this page helpful? No