Benchling Molecule Schema API

Defines the structure, field definitions, and configuration options for Molecule schemas.

GitHub OpenAPI

Operations 18

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 /molecule-schema Create a molecule schema · Create MoleculeSchema #
Ask an LLM
“How do I define a new molecule schema with its own field definitions?”
“Can I set a prefix that item IDs start with when creating a schema?”
Tell an agent
Create a molecule schema named {name} in organization {organizationId} with item ID prefix {itemIdPrefix}.
Create a molecule schema {name} in {organizationId} using item prefix {itemIdPrefix} and description {description}.
GET /molecule-schema/items List molecule schema items · List MoleculeSchema items #
Ask an LLM
“What molecule schemas have I saved?”
“Can I list only archived molecule schemas?”
Tell an agent
List all molecule schema items.
List molecule schemas matching {name_anyOf}.
GET /molecule-schema/{molecule_schema_id} Get a molecule schema · Get MoleculeSchema by ID #
Ask an LLM
“What field definitions and fieldsets does one molecule schema have?”
“Can I look up a single molecule schema by its ID?”
Tell an agent
Get molecule schema {schema_id}.
Show the field definitions of molecule schema {schema_id}.
PATCH /molecule-schema/{molecule_schema_id} Update a molecule schema · Update MoleculeSchema #
Ask an LLM
“How do I change the description or icon of an existing molecule schema?”
“Can I rename a molecule schema that already exists?”
Tell an agent
Update molecule schema {schema_id} to have description {description}.
Rename molecule schema {schema_id} to {name}.
GET /molecule-schema/{molecule_schema_id}/field-definitions/items List a schema's field definitions · List SchemaFieldDefinition items #
Ask an LLM
“What field definitions are set on a molecule schema?”
“Can I list only the archived field definitions of a schema?”
Tell an agent
List the field definitions of molecule schema {schema_id}.
Show archived field definitions on schema {schema_id}.
GET /molecule-schema/{molecule_schema_id}/fieldsets/items List a schema's fieldsets · List Fieldset items #
Ask an LLM
“Which fieldsets are applied to a molecule schema?”
“Can I list only the active fieldsets on a schema?”
Tell an agent
List the fieldsets applied to molecule schema {schema_id}.
Show active fieldsets on schema {schema_id}.
GET /molecule-schema/{molecule_schema_id}/validation-rules/items List a schema's validation rules · List ValidationRule items #
Ask an LLM
“What validation rules apply to a molecule schema?”
“Can I list only the archived validation rules on a schema?”
Tell an agent
List the validation rules on molecule schema {schema_id}.
Show archived validation rules on schema {schema_id}.
POST /molecule-schema/{molecule_schema_id}:apply-fieldset Apply a fieldset to a molecule schema · Apply a fieldset to the schema #
Ask an LLM
“How do I apply a fieldset to a molecule schema?”
“Can I apply a fieldset to a schema in a batch?”
Tell an agent
Apply fieldset {fieldset_id} to molecule schema {schema_id}.
Add fieldset {fieldset_id} to schema {schema_id} and acknowledge any warnings.
POST /molecule-schema/{molecule_schema_id}:create-validation-rule Create a validation rule on a schema · Creates validation rule for parent object #
Ask an LLM
“How do I add a validation rule that checks a molecule field?”
“Can I give a custom error message when a validation rule fails?”
Tell an agent
Create a validation rule {name} on molecule schema {schema_id} with error {error_message} and definition {definition}.
Add validation rule {name} to schema {schema_id} saying {error_message}.
POST /molecule-schema/{molecule_schema_id}:remove-fieldset Remove a fieldset from a molecule schema · Remove a fieldset from the schema #
Ask an LLM
“How do I remove a fieldset from a molecule schema?”
“Can I replace the schema's prefix when removing a fieldset?”
Tell an agent destructive · confirm first
Remove fieldset {fieldset_id} from molecule schema {schema_id}.
Take fieldset {fieldset_id} off schema {schema_id} and replace its prefix with {prefix}.
POST /molecule-schema/{molecule_schema_id}:set-field-definitions Replace a schema's field definitions · Set field definitions on the schema #
Ask an LLM
“How do I overwrite all field definitions on a molecule schema?”
“Can I set a schema's field definitions in one call?”
Tell an agent
Replace the field definitions of molecule schema {schema_id} with {definitions}.
Set schema {schema_id}'s field definitions to {definitions}.
PATCH /molecule-schema/{molecule_schema_id}:update-validation-rule Update a validation rule on a schema · Update a validation rule #
Ask an LLM
“How do I change the error message of an existing validation rule?”
“Can I archive a validation rule on a molecule schema?”
Tell an agent
Update validation rule {rule_id} on molecule schema {schema_id} to say {error_message}.
Archive validation rule {rule_id} on schema {schema_id} with reason {reason}.
POST /molecule-schema:batch-create Create several molecule schemas at once · Batch create MoleculeSchema #
Ask an LLM
“Can I create many molecule schemas in one request?”
“What is the maximum number of molecule schemas I can create in a batch?”
Tell an agent
Create these molecule schemas in one transaction: {items}.
Batch-create {items} molecule schemas.
PATCH /molecule-schema:batch-update Update molecule schemas in bulk · Batch update MoleculeSchema #
Ask an LLM
“How do I update several molecule schemas at once?”
“Is there a limit on how many molecule schemas I can patch in one request?”
Tell an agent
Update these molecule schemas in one batch: {items}.
Apply batch changes {items} to my molecule schemas.
POST /molecule-schema:bulk-create Import molecule schemas from a file · Bulk create MoleculeSchema #
Ask an LLM
“How do I import molecule schemas from a scratch file?”
“Can I bulk create molecule schemas from a file I uploaded?”
Tell an agent
Bulk create molecule schemas from scratch file {file_id}.
Import molecule schemas into my organization from file {file_id}.
PATCH /molecule-schema:bulk-update Import molecule schema updates from a file · Bulk update MoleculeSchema #
Ask an LLM
“How do I update molecule schemas in bulk from a scratch file?”
“Can I bulk update molecule schemas from a file I uploaded?”
Tell an agent
Bulk update molecule schemas from scratch file {file_id}.
Import molecule schema updates from file {file_id}.
GET /tasks/molecule-schema/apply-fieldset/{task_id} Check a fieldset application task · Poll async task status #
Ask an LLM
“Did the async request to apply a fieldset to a schema finish?”
“How do I poll an apply-fieldset task?”
Tell an agent
Poll apply-fieldset task {task_id}.
Check whether applying a fieldset to a schema succeeded.
GET /tasks/molecule-schema/set-field-definitions/{task_id} Check a field definition replacement task · Poll async task status #
Ask an LLM
“Did the async request to replace a schema's field definitions finish?”
“How do I poll a set-field-definitions task?”
Tell an agent
Poll set-field-definitions task {task_id}.
Check whether replacing a schema's field definitions succeeded.

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-moleculeschema-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-moleculeschema-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Benchling Molecule Schema API
  version: 2.0.0
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  description: 'Operations tagged MoleculeSchema 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 (333 KB total) ---
# Full source: https://artifacts.apis.io/benchling/openapi/benchling-moleculeschema-api-openapi.yml