---
title: "Batch create Fieldset"
method: POST
path: "/api/v3/fieldset:batch-create"
tags: ["Fieldset"]
---

# Batch create Fieldset

`POST /api/v3/fieldset:batch-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/fieldset:batch-create`
- Auth: HTTP bearer

Batch create Fieldset synchronously in one transaction. Maximum 25 items per request.

## Request body

- object
  - `items` CreateFieldsetInput[], required
    - `availableRegistrationNamingOptions` CreateFieldsetInputAvailableRegistrationNamingOptionsItems[]: Registration naming strategies for entities on implementing schemas.
    - `constraint` CreateFieldsetConstraintInput
      - `fieldDefinitionNames` string[]
      - `hasUniqueCanonicalSmiles` boolean
      - `uniqueResidues` 'EXACT_MATCH' | 'IGNORE_CASE'
    - `description` string: A description of the fieldset. At most 1000 characters.
    - `displayName` string, required: The user-facing name. Must be unique within the organization.
    - `fieldDefinitions` CreateFieldsetInputFieldDefinitionsItems[]: Field definitions to create on this fieldset.
      - union
        - CreateBooleanFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'BOOLEAN', required
        - CreateDateFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DATE', required
        - CreateDateTimeFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DATE_TIME', required
        - CreateDecimalFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `displayPrecision` integer: The number of decimal places to display (0 to 10).
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `legalTextDropdownId` string: The API ID of the legal text dropdown associated with this field definition.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `numericMax` number, double: The maximum allowed value, inclusive.
          - `numericMin` number, double: The minimum allowed value, inclusive.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DECIMAL', required
          - `unitId` string: The API ID of the unit to associate with this field.
        - CreateIntegerFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `numericMax` number, double: The maximum allowed value, inclusive.
          - `numericMin` number, double: The minimum allowed value, inclusive.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'INTEGER', required
          - `unitId` string: The API ID of the unit to associate with this field.
        - CreateLongTextFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'LONG_TEXT', required
        - CreateTextFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'TEXT', required
        - CreateAaSequenceLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'AA_SEQUENCE_LINK', required
        - CreateProteinLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'PROTEIN_LINK', required
        - CreateRequestLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'REQUEST_LINK', required
        - CreateResultLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'RESULT_LINK', required
        - CreateRunLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'RUN_LINK', required
        - CreateAttachmentLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'ATTACHMENT_LINK', required
        - CreateCustomEntityLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'CUSTOM_ENTITY_LINK', required
        - CreateDnaOligoLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, required: The API ID of the schema/interface that linked items must belong to.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DNA_OLIGO_LINK', required
        - CreateDnaSequenceLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DNA_SEQUENCE_LINK', required
        - CreateDropdownLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `dropdownId` string, required: The API ID of the Dropdown that defines the available options.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'DROPDOWN', required
        - CreateAnyEntityLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'ENTITY_LINK', required
        - CreateEntryLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'ENTRY_LINK', required
        - CreateEquipmentLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'EQUIPMENT_LINK', required
        - CreateFieldsetLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, required: The API ID of the schema/interface that linked items must belong to.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'FIELDSET_LINK', required
        - CreateMixtureLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'MIXTURE_LINK', required
        - CreateMoleculeLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'MOLECULE_LINK', required
        - CreateOligoConjugateLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'OLIGO_CONJUGATE_LINK', required
        - CreateOligoDuplexLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'OLIGO_DUPLEX_LINK', required
        - CreateRnaSequenceLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, required: The API ID of the schema/interface that linked items must belong to.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'RNA_SEQUENCE_LINK', required
        - CreateRnaOligoLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isParent` boolean: When true, indicates a parent-child relationship used in the registry's lot-numbering functionality.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, required: The API ID of the schema/interface that linked items must belong to.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'RNA_OLIGO_LINK', required
        - CreateStorableLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, nullable, required: The API ID of the schema to constrain links to, or null to allow links to any item of the linked type.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'STORAGE_LINK', required
        - CreateSystemCategoryLinkFieldDefinitionInput
          - `description` string: An optional user-provided description of this field definition.
          - `isMulti` boolean, required: When true, multiple linked values are allowed.
          - `isRequired` boolean, required: When true, a value must be provided for this field.
          - `linkDefinitionId` string, required: The API ID of the schema/interface that linked items must belong to.
          - `name` string, required: The user-facing display name of this field definition. Must be unique within the schema.
          - `systemName` string, required: The machine-readable identifier used as the warehouse column name. Must be unique within the schema.
          - `type` 'SYSTEM_CATEGORY_LINK', required
    - `itemIdPrefix` string, required: Prefix string prepended to generated entity IDs for implementing schemas.
    - `itemType` 'AA_SEQUENCE' | 'ANTIBODY' | 'CUSTOM_ENTITY' | 'DNA_OLIGO' | 'DNA_SEQUENCE' | 'ENTRY' | 'EQUIPMENT' | 'MIXTURE' | 'MOLECULE' | 'OLIGO_CONJUGATE' | 'OLIGO_DUPLEX' | 'RNA_OLIGO' | 'RNA_SEQUENCE' | 'TRIAL_SUBJECT': The entity type for implementing schemas (e.g. DNA_SEQUENCE, AA_SEQUENCE).
    - `organizationId` string, required: The API ID of the organization this fieldset belongs to.
    - `systemName` string: Machine-readable identifier. If not provided, auto-generated from the display name.

## Response `201`

Created

- FieldsetBatchcreateResponse201
  - `items` Fieldset[], required
    - `__typename` string
    - `archiveReason` string, nullable: Reason the Fieldset was archived
    - `archived` boolean: If the Fieldset is archived
    - `availableRegistrationNamingOptions` FieldsetAvailableRegistrationNamingOptionsItems[]: The registration naming strategies available for entities of implementing schemas. Determines how entities are named when registered.
    - `constraint` Constraint: Defines uniqueness requirements for entities within a schema. Constraints ensure that registered entities have unique values across specified fields (see `fieldDefinitionNames`) or unique domain-specific properties (see `TypeSpecificConstraint`). The hasUniqueResidues field is a legacy indicator for sequence uniqueness.
      - `__typename` string
      - `fieldDefinitionNames` string[], nullable
      - `hasUniqueResidues` boolean, nullable
    - `createdAt` string, datetime: DateTime the Fieldset was created
    - `description` string: The description of this Fieldset.
    - `displayName` string: The user-facing name of this fieldset.
    - `fieldDefinitions` string, uri: The field definitions that all schemas implementing this fieldset are required to include.
    - `id` string
    - `itemIdPrefix` string, nullable: Prefix string prepended to generated entity IDs. Setting this on a fieldset replaces the entity ID prefix on all implementing schemas.
    - `itemType` 'AA_SEQUENCE' | 'ANTIBODY' | 'CUSTOM_ENTITY' | 'DNA_OLIGO' | 'DNA_SEQUENCE' | 'ENTRY' | 'EQUIPMENT' | 'MIXTURE' | 'MOLECULE' | 'OLIGO_CONJUGATE' | 'OLIGO_DUPLEX' | 'RNA_OLIGO' | 'RNA_SEQUENCE' | 'TRIAL_SUBJECT': The entity item type that schemas implementing this Fieldset contain (e.g. DNA_SEQUENCE, AA_SEQUENCE, MIXTURE). Null when the Fieldset declares no base bioentity type.
    - `modifiedAt` string, datetime: DateTime the Fieldset was last modified
    - `nameTemplate` EntityNameTemplate: A name template for entities.
      - `__typename` string
      - `parts` EntityNameTemplatePart[]
        - `__typename` string
        - `configuration` union: Union of TextNameTemplatePartConfiguration, FieldNameTemplatePartConfiguration, ProteinChainNameTemplatePartConfiguration, ProteinDomainNameTemplatePartConfiguration
          - object: Configuration for a schema field name template part.
            - `__typename` string, required
            - `field` SchemaFieldDefinitionRef
              - …
          - object: Configuration for a protein chain name template part.
            - `__typename` string, required
            - `proteinChain` ProteinFormatChain: A chain in a protein format, representing the slot where a polypeptide chain can be used in an entity of this format. Chains are uniquely identified by their label in the format. Chains can have multiplicity, meaning there are multiple physical instances of the same chain in a protein of this format.
              - …
          - object: Configuration for a protein domain name template part.
            - `__typename` string, required
            - `proteinDomain` ProteinFormatDomain: A domain in a protein format, representing the slot where an amino acid sequence can be used in an entity of this format. Domains are uniquely identified by their label in the format.
              - …
          - object: Configuration for a literal text name template part.
            - `__typename` string, required
            - `text` string
        - `type` 'CHILD_ENTITY_LOT_NUMBER' | 'COMPLEX_POLYMER_COMPONENT' | 'CREATED_AT_DATE' | 'CREATED_AT_YEAR' | 'FIELD' | 'HOISTED_FIELD' | 'LINKED_BIOENTITY_REGISTRY_IDENTIFIER' | 'PROJECT' | 'PROTEIN_CHAIN' | 'PROTEIN_DOMAIN' | 'REGISTRY_IDENTIFIER_NUMBER' | 'REGISTRY_IDENTIFIER_NUMBER_BASE_26' | 'SALT_CODES' | 'SEPARATOR' | 'TEXT'
      - `shouldOrderPartsBySequence` boolean
    - `organization` OrganizationRef
      - `__typename` string
      - `id` string, api_id
    - `systemName` string: The machine-readable identifier for warehouse and API access.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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