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 → AI assistant & tokens: say what will use it (Balance in B12, My R scripts), whether it may Read, Read and change or Read and propose (for an AI assistant: see below), 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.

Changes an assistant proposes

A token that may Read and propose is for an AI assistant: it changes nothing itself, and sends its changes as one proposal that you approve, whole, under Proposed changes. Connecting one and approving are in AI assistants.

Was this page helpful? No