---
title: "Get a batch schema by ID"
method: GET
path: "/batch-schemas/{schema_id}"
tags: ["schemas"]
---

# Get a batch schema by ID

`GET /batch-schemas/{schema_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/batch-schemas/{schema_id}`
- Auth: HTTP bearer

Get a batch schema by ID

## Path parameters

- `schema_id` string, required

## Response `200`

OK

- BatchSchema
  - `archiveRecord` ArchiveRecord
    - `reason` string
  - `fieldDefinitions` BatchSchemaFieldDefinitionsItems[]
    - union
      - SimpleFieldDefinition
        - `archiveRecord` ArchiveRecord
          - `reason` string
        - `id` string
        - `isMulti` boolean
        - `isRequired` boolean
        - `name` string
        - `type` 'dna_sequence_link' | 'aa_sequence_link' | 'custom_entity_link' | 'entity_link' | 'mixture_link' | 'molecule_link' | 'dropdown' | 'part_link' | 'translation_link' | 'aa_part_link' | 'base_molecule_link' | 'blob_link' | 'text' | 'long_text' | 'batch_link' | 'storage_link' | 'entry_link' | 'assay_request_link' | 'assay_result_link' | 'assay_run_link' | 'boolean' | 'float' | 'integer' | 'datetime' | 'date' | 'json'
      - IntegerFieldDefinition
        - `archiveRecord` ArchiveRecord
          - `reason` string
        - `id` string
        - `isMulti` boolean
        - `isRequired` boolean
        - `name` string
        - `type` 'dna_sequence_link' | 'aa_sequence_link' | 'custom_entity_link' | 'entity_link' | 'mixture_link' | 'molecule_link' | 'dropdown' | 'part_link' | 'translation_link' | 'aa_part_link' | 'base_molecule_link' | 'blob_link' | 'text' | 'long_text' | 'batch_link' | 'storage_link' | 'entry_link' | 'assay_request_link' | 'assay_result_link' | 'assay_run_link' | 'boolean' | 'float' | 'integer' | 'datetime' | 'date' | 'json'
        - `numericMax` number, double, nullable
        - `numericMin` number, double, nullable
        - `unit` UnitSummary
          - `id` string
          - `name` string
          - `symbol` string
          - `unitTypeId` string
      - FloatFieldDefinition
        - `archiveRecord` ArchiveRecord
          - `reason` string
        - `id` string
        - `isMulti` boolean
        - `isRequired` boolean
        - `name` string
        - `type` 'dna_sequence_link' | 'aa_sequence_link' | 'custom_entity_link' | 'entity_link' | 'mixture_link' | 'molecule_link' | 'dropdown' | 'part_link' | 'translation_link' | 'aa_part_link' | 'base_molecule_link' | 'blob_link' | 'text' | 'long_text' | 'batch_link' | 'storage_link' | 'entry_link' | 'assay_request_link' | 'assay_result_link' | 'assay_run_link' | 'boolean' | 'float' | 'integer' | 'datetime' | 'date' | 'json'
        - `decimalPrecision` number, double, nullable
        - `legalTextDropdownId` string, nullable
        - `numericMax` number, double, nullable
        - `numericMin` number, double, nullable
        - `unit` UnitSummary
          - `id` string
          - `name` string
          - `symbol` string
          - `unitTypeId` string
      - DropdownFieldDefinition
        - `archiveRecord` ArchiveRecord
          - `reason` string
        - `id` string
        - `isMulti` boolean
        - `isRequired` boolean
        - `name` string
        - `type` 'dna_sequence_link' | 'aa_sequence_link' | 'custom_entity_link' | 'entity_link' | 'mixture_link' | 'molecule_link' | 'dropdown' | 'part_link' | 'translation_link' | 'aa_part_link' | 'base_molecule_link' | 'blob_link' | 'text' | 'long_text' | 'batch_link' | 'storage_link' | 'entry_link' | 'assay_request_link' | 'assay_result_link' | 'assay_run_link' | 'boolean' | 'float' | 'integer' | 'datetime' | 'date' | 'json'
        - `dropdownId` string, nullable
      - SchemaLinkFieldDefinition
        - `archiveRecord` ArchiveRecord
          - `reason` string
        - `id` string
        - `isMulti` boolean
        - `isRequired` boolean
        - `name` string
        - `type` 'dna_sequence_link' | 'aa_sequence_link' | 'custom_entity_link' | 'entity_link' | 'mixture_link' | 'molecule_link' | 'dropdown' | 'part_link' | 'translation_link' | 'aa_part_link' | 'base_molecule_link' | 'blob_link' | 'text' | 'long_text' | 'batch_link' | 'storage_link' | 'entry_link' | 'assay_request_link' | 'assay_result_link' | 'assay_run_link' | 'boolean' | 'float' | 'integer' | 'datetime' | 'date' | 'json'
        - `schemaId` string, nullable
  - `id` string
  - `name` string
  - `type` string
  - `prefix` string
  - `registryId` string
  - `entitySchemaId` string
  - `modifiedAt` string, date-time: DateTime the Batch Schema was last modified

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
