Benchling File API

A File represents an uploaded document or data file that is surfaced in Benchling's Data Catalog for discovery and organization. Files are primarily created through Benchling Connect (for external file integrations) and the Analysis Tool (for pipeline outputs). Each File is backed by a ScratchFile containing the actual binary content and upload state. Files are folder-based items that can be starred for quick access, linked to Studies, and support custom fields. Files differ from EntryExternalFile (attachments within notebook entries) and Blob (raw binary storage) in that they are first-class data catalog items with full metadata and discovery capabilities.

GitHub OpenAPI

Operations 11

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 /file Create a file from a scratch file · Create File #
Ask an LLM
“How do I upload a file into a folder from a scratch file?”
“Can I give a new file a custom name when I create it?”
Tell an agent
Create file {name} in folder {folderId} from scratch file {scratchFileId}.
Upload {filename} as file {name} in folder {folderId} using scratch file {scratchFileId}.
GET /file/items List files in a folder · List File items #
Ask an LLM
“Which files are in a particular folder?”
“Can I list only the files a user created?”
Tell an agent
List files in folder {folderId}.
Show files created by {creator} in folder {folderId}.
GET /file/{file_id} Get a file · Get File by ID #
Ask an LLM
“How do I look up one file by its ID?”
“Can I fetch a file's details without its versions?”
Tell an agent
Get file {file_id}.
Show file {file_id} with only {returning} fields.
PATCH /file/{file_id} Rename or move a file · Update File #
Ask an LLM
“How do I rename a file?”
“Can I move a file to another folder?”
Tell an agent
Rename file {file_id} to {name}.
Move file {file_id} to folder {folderId}.
GET /file/{file_id}/versions/items List a file's published versions · List FileVersion items #
Ask an LLM
“What versions of a file have been published?”
“Can I see who published each version of a file?”
Tell an agent
List the published versions of file {file_id}, newest first.
Show versions of file {file_id} created by {creator}.
GET /file/{file_id}/versions/{file_version_id} Get a file version · Get FileVersion by ID #
Ask an LLM
“How do I fetch one published version of a file?”
“Can I read a specific file version by its ID?”
Tell an agent
Get version {file_version_id} of file {file_id}.
Show the content of file version {file_version_id} on file {file_id}.
POST /file/{file_id}:revert Revert a file to an earlier version · Revert File to version #
Ask an LLM
“How do I restore a file to an earlier published version?”
“Can I revert a file to a version I archived?”
Tell an agent
Revert file {file_id} to version {fileVersionId}.
Restore file {file_id} to its current version {expectedVersionId}.
POST /file:batch-create Create several files in one request · Batch create File #
Ask an LLM
“Can I create many files in a single transaction?”
“What is the maximum number of files I can create at once?”
Tell an agent
Create these files in one batch: {items}.
Synchronously create {items} from scratch files in a transaction.
PATCH /file:batch-update Update several files in one request · Batch update File #
Ask an LLM
“Can I update many files in a single transaction?”
“What is the maximum number of files I can update at once?”
Tell an agent
Update these files in one batch: {items}.
Synchronously update {items} in a transaction.
POST /file:bulk-create Bulk import files from a scratch file · Bulk create File #
Ask an LLM
“How do I bulk import files from a scratch file?”
“Can I import a large number of files at once?”
Tell an agent
Bulk create files from scratch file {fileId}.
Import all files in scratch file {fileId} into the workspace.
PATCH /file:bulk-update Bulk update files from a scratch file · Bulk update File #
Ask an LLM
“How do I bulk update files from a scratch file?”
“Can I replace many files at once with a scratch file?”
Tell an agent
Bulk update files from scratch file {fileId}.
Replace the listed files with the contents of scratch 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-file-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-file-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Benchling File API
  version: 2.0.0
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  description: 'Operations tagged File 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 (36 KB total) ---
# Full source: https://artifacts.apis.io/benchling/openapi/benchling-file-api-openapi.yml