Benchling Unit Type API

A UnitType is a dimensional category that groups inter-convertible `Unit` objects within Benchling's tenant-specific unit dictionary. Examples include Volume, Mass, Time, Molar Concentration, and custom types like Cell Concentration. Each UnitType has a designated `baseUnit` that serves as the reference for conversion factors of all other units in the type—units within the same UnitType can be converted to each other, but cross-dimensional conversions are not supported. The dimensional composition is described by `terms` (see `UnitTypeTerm`), and derived types can specify their `formula` (see `FormulaUnitTerm`) to define relationships like Liter = decimeter³. UnitTypes can be flagged to provide concentration units or container quantity units for inventory features regardless of their dimensional terms. Historically called "Quantity" in some internal systems.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /unit-type Create a unit type · Create UnitType #
Ask an LLM
“How do I define a new unit type like volume or mass?”
“Can I force a unit type to be treated as a concentration regardless of its terms?”
Tell an agent
Create unit type {name} with base unit {baseUnit} and override concentration set to {overrideIsConcentration}.
Define a new {name} unit type using formula {formula}.
GET /unit-type/items List unit types · List UnitType items #
Ask an LLM
“Which unit types have been created or modified in my Benchling environment?”
“Can I find unit types by name?”
Tell an agent
List unit types.
Find unit types named {names}.
GET /unit-type/{unit_type_id} Get a unit type · Get UnitType by ID #
Ask an LLM
“What base unit and formula does a given unit type have?”
“Can I look up one unit type by its ID?”
Tell an agent
Get unit type {unit_type_id}.
Show the base unit and formula of unit type {unit_type_id}.
PATCH /unit-type/{unit_type_id} Update a unit type · Update UnitType #
Ask an LLM
“Can I change the formula of an existing unit type?”
“How do I archive a unit type?”
Tell an agent
Update unit type {unit_type_id} with formula {formula}.
Set archived to {archived} on unit type {unit_type_id}.
GET /unit-type/{unit_type_id}/units/items List units of a unit type · List Unit items #
Ask an LLM
“What units are defined for a given unit type?”
“Can I include archived units when listing a unit type's units?”
Tell an agent
List units of unit type {unit_type_id}.
List units of {unit_type_id} including archived ones.
POST /unit-type:batch-create Create several unit types at once · Batch create UnitType #
Ask an LLM
“Can I create many unit types in one request?”
“Is there a limit on how many unit types I can create in a batch?”
Tell an agent
Batch create these unit types: {items}.
Create several new unit types in one transaction.
PATCH /unit-type:batch-update Update several unit types at once · Batch update UnitType #
Ask an LLM
“Can I update many unit types in a single request?”
“Is there a maximum number of unit types I can update in one batch?”
Tell an agent
Batch update these unit types: {items}.
Update several existing unit types in one transaction.
POST /unit-type:bulk-create Import unit types from a scratch file · Bulk create UnitType #
Ask an LLM
“How do I import a large number of unit types from a file?”
“Can I bulk create unit types from a scratch file I uploaded?”
Tell an agent
Bulk create unit types from scratch file {fileId}.
Import a batch of unit types from file {fileId}.
PATCH /unit-type:bulk-update Bulk update unit types from a scratch file · Bulk update UnitType #
Ask an LLM
“Can I bulk update unit types using a scratch file?”
“How do I replace many unit types at once from an uploaded file?”
Tell an agent
Bulk update unit types from scratch file {fileId}.
Replace a batch of unit types using file {fileId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/benchling:benchling-unittype-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

benchling-unittype-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Benchling Unit Type API
  version: 2.0.0
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  description: 'Operations tagged UnitType across 2 of this provider''s published API definitions: benchling-openapi.yml, benchling-v3-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v3
security:
- oAuth: []
- basicApiKeyAuth: []
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://artifacts.apis.io/benchling/openapi/benchling-unittype-api-openapi.yml