Benchling Containers API

Containers are the backbone of sample management in Benchling. They represent physical containers, such as tubes or wells, that hold quantities of biological samples (represented by the entities inside the container). The container itself tracks its total volume, and the concentration of every entity inside of it. Containers are all associated with schemas, which define the type of the container (e.g. "Tube") along with the fields that are tracked. Like all inventory, every container has a barcode that is unique across the registry.

GitHub OpenAPI
Business capability
Compound & Library Management BC-1500.60

Operations 19

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

GET /containers List containers · List containers #
Ask an LLM
“Which tubes or wells hold a particular sample?”
“Can I find containers that are checked out to a user or team?”
Tell an agent
List containers with sample owner {sampleOwnerIds}.
Find containers created on {createdAt}.
POST /containers Create a container · Create a new container #
Ask an LLM
“How do I create a new tube or well to hold samples?”
“Can I set a barcode when creating a container?”
Tell an agent
Create a {schemaId} container named {name}.
Create a container {name} with barcode {barcode} of schema {schemaId}.
GET /containers/{container_id} Get a container · get a container by id #
Ask an LLM
“What volume and concentration does a container hold?”
“Can I look up a container by its ID?”
Tell an agent
Get container {container_id}.
Show the volume and concentration of container {container_id}.
PATCH /containers/{container_id} Update a container · update a container #
Ask an LLM
“How do I change a container's name or barcode?”
“Can I set the sample owners on an existing container?”
Tell an agent
Rename container {container_id} to {name}.
Set the sample owners of container {container_id} to {sampleOwnerIds}.
GET /containers/{container_id}/contents List what a container holds · List a container's contents #
Ask an LLM
“Which samples are inside a given container?”
“Can I see the concentrations of everything in a tube?”
Tell an agent
List the contents of container {container_id}.
Show what is inside container {container_id}.
DELETE /containers/{container_id}/contents/{containable_id} Remove an item from a container · Delete a container content #
Ask an LLM
“How do I remove a sample from a container?”
“Can I empty a tube by deleting its contents?”
Tell an agent destructive · confirm first
Remove item {containable_id} from container {container_id}.
Empty container {container_id} by deleting {containable_id}.
GET /containers/{container_id}/contents/{containable_id} Get one item inside a container · Get a container content #
Ask an LLM
“What concentration does a specific sample have in a container?”
“Can I fetch one contained entity by its ID?”
Tell an agent
Get item {containable_id} in container {container_id}.
Show the concentration of {containable_id} inside container {container_id}.
PATCH /containers/{container_id}/contents/{containable_id} Set a sample's concentration in a container · Update a container content #
Ask an LLM
“How do I record the concentration of a sample I added to a container?”
“Can I change the concentration of one item inside a container?”
Tell an agent
Set the concentration of item {containable_id} in container {container_id} to {concentration}.
Record {concentration} for {containable_id} inside container {container_id}.
POST /containers/{destination_container_id}:transfer Transfer samples into a container · Transfer into container #
Ask an LLM
“How do I pour a volume of a sample into a tube?”
“Can I transfer an entire container's contents into another?”
Tell an agent
Transfer {transferQuantity} of {sourceEntityId} into container {destination_container_id}.
Pour {transferQuantity} from container {sourceContainerId} into {destination_container_id}.
POST /containers:archive Archive containers · Archive containers #
Ask an LLM
“How do I archive tubes that are no longer used?”
“Can I remove barcodes from archived containers?”
Tell an agent destructive · confirm first
Archive containers {containerIds} with reason {reason}.
Archive {containerIds} and remove their barcodes ({shouldRemoveBarcodes}).
POST /containers:bulk-create Create many containers at once · Bulk create containers. Limit of 1000 containers per request #
Ask an LLM
“Can I create a batch of tubes or wells in one request?”
“What is the limit on bulk container creation?”
Tell an agent
Bulk create these containers: {containers}.
Create a batch of {schemaId} containers from {containers}.
GET /containers:bulk-get Get many containers by ID or barcode · Bulk get a set of containers #
Ask an LLM
“Can I fetch several containers by barcode in one call?”
“Is there a bulk lookup for containers?”
Tell an agent
Bulk get containers {containerIds}.
Look up containers by barcode {barcodes}.
POST /containers:bulk-update Update many containers at once · Bulk update containers #
Ask an LLM
“How do I rename or move a batch of containers?”
“Can I change several container fields in one request?”
Tell an agent
Bulk update these containers: {containers}.
Rename and move the containers in {containers}.
POST /containers:check-in Check containers back in · Check in containers #
Ask an LLM
“How do I mark containers as available after using them?”
“Can I check in several containers at once?”
Tell an agent
Check in containers {containerIds}.
Check in {containerIds} with comment {comments}.
POST /containers:check-out Check containers out for use · Check out containers #
Ask an LLM
“How do I reserve containers for an experiment?”
“Can I check out containers to a specific user?”
Tell an agent
Check out containers {containerIds} to {assigneeId}.
Reserve {containerIds} for {assigneeId} with comment {comment}.
POST /containers:print-labels Print labels for containers · Print labels #
Ask an LLM
“How do I print labels for tubes or plates?”
“Which printers and label templates can I use?”
Tell an agent
Print labels for containers {containerIds} using template {labelTemplateId} on printer {printerId}.
Label tubes {containerIds} with {labelTemplateId} on {printerId}.
POST /containers:reserve Reserve containers for future use · Reserve containers #
Ask an LLM
“How do I reserve tubes or wells so no one else takes them?”
“Can I assign a comment and an assignee to a container reservation?”
Tell an agent
Reserve containers {containerIds} for assignee {assigneeId}.
Hold containers {containerIds} for {assigneeId} with comment {comment}.
POST /containers:unarchive Restore archived containers · Unarchive containers #
Ask an LLM
“How do I bring archived containers back into use?”
“Can I undo archiving a batch of tubes?”
Tell an agent
Unarchive containers {containerIds}.
Restore the archived tubes {containerIds}.
POST /transfers Transfer many samples into containers · Transfers into containers #
Ask an LLM
“Can I transfer several samples into containers in one request?”
“How is concentration updated after a batch transfer?”
Tell an agent
Transfer these samples into containers: {transfers}.
Batch transfer {transfers} into their destination containers.

Documentation

Specifications

Schemas & Data

Other Resources

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-containers-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-containers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Benchling Containers API
  version: 2.0.0
  description: 'Containers are the backbone of sample management in Benchling. They represent physical containers, such as tubes or wells, that hold quantities of biological samples (represented by the entities inside the container). The container itself tracks its total volume, and the concentration of every entity inside of it.


    Containers are all associated with schemas, which define the type of the container (e.g. "Tube") along with the fields that are tracked.


    Like all inventory, every container has a barcode that is unique across the registry.'
servers:
- url: /api/v2
security:
- oAuth: []
- basicApiKeyAuth: []
tags:


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