> ## Documentation Index
> Fetch the complete documentation index at: https://docs.biohub.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# batch_submit

> Queue inference and receive a batch ID.



## OpenAPI

````yaml openapi/biohub-platform-batch-openapi.json POST /api/v1/batch/submit
openapi: 3.1.0
info:
  title: Biohub Platform Batch API
  version: 1.0.0
servers:
  - url: https://biohub.ai
security:
  - HTTPBearer: []
paths:
  /api/v1/batch/submit:
    post:
      summary: Queue inference items
      description: >-
        Queue one or more inputs for the selected inference endpoint and return
        their batch ID. Read /batch/list for batch progress and /batch/status
        for an individual item's result.
      operationId: batch_submit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchSubmitRequest'
      responses:
        '200':
          description: >-
            The inputs were queued or an existing submission was replayed;
            inference has not necessarily completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchSubmitResponse'
        '400':
          description: >-
            Invalid envelope, endpoint, model, item count, submission_id, or
            authentication method for submission_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
        '409':
          description: The submission_id already belongs to another user or request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
        '422':
          description: No supported model rate-limit configuration is available.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
        '429':
          description: >-
            A rate limit, a credit check or a quota refused the submission. The
            daily credit allowance is normally the first limit a caller reaches.
            The response message names the limit that applied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
        '500':
          description: >-
            Submission failed; some items may already have been queued. Retry
            with the same submission_id and request to retrieve an existing
            batch. An exact replay does not restart failed items.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
        '503':
          description: Service temporarily unavailable. Please try again later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchError'
components:
  schemas:
    BatchSubmitRequest:
      title: BatchSubmitRequest
      type: object
      required:
        - endpoint
        - payload
      properties:
        submission_id:
          type: string
          format: uuid
          pattern: >-
            ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          description: >-
            Optional lowercase UUIDv4 used as the durable batch ID. Available to
            API-key callers on all supported batch endpoints and models. Session
            callers cannot set this field. A delegation-token caller can set it
            on a one-item fold batch, must set it on a design_binder batch and
            on a fold batch with more than one item, and cannot set it on a
            fold_all_atom or fold_max_accuracy batch. An exact replay by the
            same user returns the existing batch without queuing work again,
            even if the original batch failed. The digest covers endpoint,
            payload, repeat, effective x-disable-cache, effective
            x-fold-profile, and the server's queue scope. Cache disabling is
            true only for header values 'true' or 'True'; the fold profile is
            'dev' or 'prod' for internal callers and null otherwise. Object keys
            are sorted recursively; array order is preserved. Keep the request
            and effective execution settings unchanged for a replay. A
            conflicting owner or digest returns 409. This field does not select
            a routing destination; a replay preserves the original routing and
            does not consume additional task quota. Omit this field for a new
            random batch ID.
        endpoint:
          type: string
          enum:
            - fold_max_accuracy
            - design_binder
            - fold
            - fold_all_atom
          description: The inference endpoint to run.
        payload:
          type: array
          minItems: 1
          maxItems: 2000
          items:
            anyOf:
              - $ref: '#/components/schemas/FoldMaxAccuracyRequest'
              - $ref: '#/components/schemas/DesignBinderRequest'
              - $ref: '#/components/schemas/FoldRequest'
              - $ref: '#/components/schemas/FoldAllAtomRequest'
          description: >-
            One or more inputs, which must match the endpoint. Payload length
            times repeat must not exceed 10 for `fold_max_accuracy`, or 256 for
            `design_binder`.
        repeat:
          type: integer
          minimum: 1
          maximum: 2000
          default: 1
          description: >-
            Run each input this many times. Payload length times repeat must not
            exceed 10 for `fold_max_accuracy`, or 256 for `design_binder`. A
            design trajectory offsets its seed by the item index, so repeat 16
            gives 16 different binders rather than 16 copies of one.
      example:
        endpoint: fold
        payload:
          - model: esmfold2-2026-05
            sequence: MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ
    BatchSubmitResponse:
      title: BatchSubmitResponse
      type: object
      description: >-
        Every Batch API route answers with this envelope. A failure carries
        `message` instead of `data`.
      properties:
        status:
          type: string
          const: success
        data:
          type: object
          properties:
            message:
              type: string
            batch_id:
              type: string
              description: >-
                Identifies the new or replayed batch. Equals submission_id when
                supplied, otherwise the original request_id. Pass it to
                /batch/list and /batch/cancel.
            total_items:
              type: integer
              description: Payload length times `repeat`.
            replayed:
              type: boolean
              const: true
              description: >-
                Present and true only for an exact replay. No new work was
                queued; read the existing batch to learn its status.
            task_id:
              type: string
              description: >-
                Present only when the batch holds exactly one item, where there
                is one task it could mean. A larger batch numbers its items
                `<batch_id>-00000`, `<batch_id>-00001` and so on, so you can
                address an item without listing first.
        request_id:
          type: string
    BatchError:
      title: BatchError
      type: object
      description: >-
        Every Batch API route answers with this envelope. A failure carries
        `message` instead of `data`.
      properties:
        status:
          type: string
          const: error
        message:
          type: string
          description: What is wrong with the request, and how to correct it.
        request_id:
          type: string
          description: Quote this when you report a problem with the call.
        results_expire_at:
          type: string
          format: date-time
          description: >-
            Present on a 410 from /batch/status: when the item's results
            expired.
    FoldMaxAccuracyRequest:
      properties:
        model:
          type: string
          enum:
            - esmfold2-2026-05-cutoff-2025
          description: >-
            The model served by fold_max_accuracy. Required in every payload
            item.
        potential_sequence_of_concern:
          default: false
          description: >-
            Disclose potential sequences of concern. For approved users, such
            sequences will not go through additional safety filtering. Reach out
            if you are interested in using this.
          title: Potential Sequence Of Concern
          type: boolean
        all_atom_input:
          $ref: '#/components/schemas/FoldMaxAccuracyInput'
          description: (ESMFold2) All atom input (protein, RNA, DNA, and ligand) to fold.
        include_pae:
          default: false
          description: >-
            (ESMFold2) Whether to include Predicted Aligned Error (PAE) matrix
            in the response.
          title: Include Pae
          type: boolean
        include_pair_chains_iptm:
          default: false
          description: >-
            (ESMFold2) Whether to include pair-chain IPTM predictions in the
            response.
          title: Include Pair Chains Iptm
          type: boolean
        include_embeddings:
          default: false
          description: >-
            (ESMFold2) Whether to include sequence and pair embeddings in the
            response.
          title: Include Embeddings
          type: boolean
      required:
        - model
        - all_atom_input
      title: FoldMaxAccuracyRequest
      type: object
      description: >-
        One maximum-accuracy folding input. The service generates its own MSA;
        caller-supplied MSAs and folding recipe parameters are not supported.
      example:
        model: esmfold2-2026-05-cutoff-2025
        all_atom_input:
          sequences:
            - id: A
              type: protein
              sequence: MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ
        include_pae: true
    DesignBinderRequest:
      properties:
        potential_sequence_of_concern:
          default: false
          description: >-
            Disclose potential sequences of concern. For approved users, such
            sequences will not go through additional safety filtering. Reach out
            if you are interested in using this.
          title: Potential Sequence Of Concern
          type: boolean
        target_sequence:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Target to design against; '|' separates chains. The convenience form
            of `target_chains` -- the server expands it into chains named A, B,
            C, which is what the returned structure labels them. Supply this or
            `target_chains`, not both.
          title: Target Sequence
        target_chains:
          anyOf:
            - items:
                $ref: '#/components/schemas/ChainInput'
              type: array
            - type: 'null'
          default: null
          description: >-
            The target as named chains, which is the addressable form of
            `target_sequence`. Hotspots can then name a chain id rather than a
            position that only means anything against one exact string.
          title: Target Chains
        hotspots:
          description: >-
            Target residues the binder should contact, each addressed per chain.
            They steer the design and they score it. The deployed recipe carries
            an epitope loss over exactly these residues, so the trajectory
            descends toward them. `self_scored.hotspot_min_distances_angstrom`
            is measured at the same residues, so that self-score reports the
            objective the trajectory just descended. Addressed per chain, not as
            one count over the concatenated residues: that count shifts by one
            per preceding chain separator, so a caller who computed it from the
            raw string named the wrong residue. The server converts them to the
            recipe's numbering.
          items:
            $ref: '#/components/schemas/ResidueRef'
          title: Hotspots
          type: array
        binder_format:
          default: minibinder
          description: 'One of: minibinder, vhh, scfv, antibody.'
          title: Binder Format
          type: string
          enum:
            - minibinder
            - vhh
            - scfv
            - antibody
        seed:
          default: 0
          description: >-
            Base seed. In a batch, the item's index is added to it so each
            trajectory explores a different starting point. The sum wraps at
            2147483647.
          maximum: 2147483647
          minimum: 0
          title: Seed
          type: integer
      required:
        - hotspots
      title: DesignBinderRequest
      type: object
      example:
        target_chains:
          - id: A
            sequence: MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ
        hotspots:
          - chain: A
            position: 12
        binder_format: minibinder
        seed: 0
    FoldRequest:
      properties:
        model:
          type: string
          enum:
            - esmfold2-2026-05
            - esmfold2-fast-2026-05
            - esmfold2-2026-05-cutoff-2025
        sequence:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Input sequence to be folded; '|' separates chains. The server names
            the chains A, B, C in the order they appear.
          title: Sequence
        msa:
          anyOf:
            - $ref: '#/components/schemas/MSA'
            - type: string
            - type: 'null'
          default: null
          description: (ESMFold2) MSA data for the query sequence.
          title: Msa
        num_loops:
          default: 20
          description: (ESMFold2) Number of trunk loops for iterative refinement.
          maximum: 20
          minimum: 0
          title: Num Loops
          type: integer
        num_sampling_steps:
          default: 100
          description: >-
            (ESMFold2) Diffusion ODE solver steps. Lower for speed, higher for
            quality.
          maximum: 100
          minimum: 1
          title: Num Sampling Steps
          type: integer
        lm_dropout:
          default: 0.3
          description: >-
            (ESMFold2) Dropout probability on LM pair embeddings. When > 0,
            dropout is applied.
          maximum: 1
          minimum: 0
          title: Lm Dropout
          type: number
        lm_mask_pct:
          default: 0
          description: >-
            (ESMFold2) Fraction of sequence residues randomly masked before the
            PLM backbone. If not provided, defaults to 0.1 for ESMFOLD2_FAST and
            0.0 for ESMFOLD2
          maximum: 1
          minimum: 0
          title: Lm Mask Pct
          type: number
        msa_max_depth:
          anyOf:
            - maximum: 16384
              minimum: 1
              type: integer
            - type: 'null'
          default: 1024
          description: >-
            (ESMFold2) Number of MSA rows randomly subsampled each loop. Set to
            null to disable (sets msa_subsample_at_inference to False).
          title: Msa Max Depth
        msa_column_mask_rate:
          default: 0.1
          description: >-
            (ESMFold2) Fraction of MSA columns randomly masked in non-query rows
            for inference-time diversity.
          maximum: 1
          minimum: 0
          title: Msa Column Mask Rate
          type: number
        include_distogram:
          default: false
          description: (ESMFold2) Whether to include distogram predictions in the response.
          title: Include Distogram
          type: boolean
        include_pae:
          default: false
          description: >-
            (ESMFold2) Whether to include Predicted Aligned Error (PAE) matrix
            in the response.
          title: Include Pae
          type: boolean
        include_pair_chains_iptm:
          default: false
          description: >-
            (ESMFold2) Whether to include pair-chain IPTM predictions in the
            response.
          title: Include Pair Chains Iptm
          type: boolean
        include_embeddings:
          default: false
          description: >-
            (ESMFold2) Whether to include sequence and pair embeddings in the
            response.
          title: Include Embeddings
          type: boolean
      required:
        - model
        - sequence
      title: FoldRequest
      type: object
      example:
        model: esmfold2-2026-05
        sequence: MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ
    FoldAllAtomRequest:
      properties:
        model:
          type: string
          enum:
            - esmfold2-2026-05
            - esmfold2-fast-2026-05
            - esmfold2-2026-05-cutoff-2025
        num_loops:
          default: 20
          description: (ESMFold2) Number of trunk loops for iterative refinement.
          maximum: 20
          minimum: 0
          title: Num Loops
          type: integer
        num_sampling_steps:
          default: 100
          description: >-
            (ESMFold2) Diffusion ODE solver steps. Lower for speed, higher for
            quality.
          maximum: 100
          minimum: 1
          title: Num Sampling Steps
          type: integer
        lm_dropout:
          default: 0.3
          description: >-
            (ESMFold2) Dropout probability on LM pair embeddings. When > 0,
            dropout is applied.
          maximum: 1
          minimum: 0
          title: Lm Dropout
          type: number
        lm_mask_pct:
          default: 0
          description: >-
            (ESMFold2) Fraction of sequence residues randomly masked before the
            PLM backbone. If not provided, defaults to 0.1 for ESMFOLD2_FAST and
            0.0 for ESMFOLD2
          maximum: 1
          minimum: 0
          title: Lm Mask Pct
          type: number
        msa_max_depth:
          anyOf:
            - maximum: 16384
              minimum: 1
              type: integer
            - type: 'null'
          default: 1024
          description: >-
            (ESMFold2) Number of MSA rows randomly subsampled each loop. Set to
            null to disable (sets msa_subsample_at_inference to False).
          title: Msa Max Depth
        msa_column_mask_rate:
          default: 0.1
          description: >-
            (ESMFold2) Fraction of MSA columns randomly masked in non-query rows
            for inference-time diversity.
          maximum: 1
          minimum: 0
          title: Msa Column Mask Rate
          type: number
        include_distogram:
          default: false
          description: (ESMFold2) Whether to include distogram predictions in the response.
          title: Include Distogram
          type: boolean
        include_pae:
          default: false
          description: >-
            (ESMFold2) Whether to include Predicted Aligned Error (PAE) matrix
            in the response.
          title: Include Pae
          type: boolean
        include_pair_chains_iptm:
          default: false
          description: >-
            (ESMFold2) Whether to include pair-chain IPTM predictions in the
            response.
          title: Include Pair Chains Iptm
          type: boolean
        all_atom_input:
          anyOf:
            - $ref: '#/components/schemas/FoldAllAtomInput'
            - type: 'null'
          default: null
          description: >-
            (ESMFold2) All atom input (protein, RNA, DNA, and ligand) to fold.
            If provided, performs all-atom folding and ignores the sequence and
            msa inputs.
        include_embeddings:
          default: false
          description: >-
            (ESMFold2) Whether to include sequence and pair embeddings in the
            response.
          title: Include Embeddings
          type: boolean
      required:
        - model
        - all_atom_input
      title: FoldAllAtomRequest
      type: object
      example:
        model: esmfold2-2026-05
        all_atom_input:
          sequences:
            - id: A
              type: protein
              sequence: MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ
    FoldMaxAccuracyInput:
      properties:
        sequences:
          items:
            discriminator:
              mapping:
                dna: '#/components/schemas/DNAInput'
                ligand: '#/components/schemas/LigandInput'
                protein: '#/components/schemas/FoldMaxAccuracyProteinInput'
                rna: '#/components/schemas/RNAInput'
              propertyName: type
            oneOf:
              - $ref: '#/components/schemas/FoldMaxAccuracyProteinInput'
              - $ref: '#/components/schemas/RNAInput'
              - $ref: '#/components/schemas/DNAInput'
              - $ref: '#/components/schemas/LigandInput'
          title: Sequences
          type: array
        covalent_bonds:
          anyOf:
            - items:
                $ref: '#/components/schemas/CovalentBond'
              type: array
            - type: 'null'
          default: null
          description: List of covalent bonds between chains in the molecular complex.
          title: Covalent Bonds
        pocket:
          anyOf:
            - $ref: '#/components/schemas/PocketConditioning'
            - type: 'null'
          default: null
          description: Pocket conditioning for binder design.
        distogram_conditioning:
          anyOf:
            - items:
                $ref: '#/components/schemas/DistogramConditioning'
              type: array
            - type: 'null'
          default: null
          description: List of distogram conditioning for chains.
          title: Distogram Conditioning
      required:
        - sequences
      title: FoldAllAtomInput
      type: object
    ChainInput:
      description: >-
        One named chain of a complex.


        Naming chains rather than numbering them is what makes a residue address

        survive its container changing. A positional index is only meaningful

        relative to the exact string it was written against, so appending a
        binder

        to a target -- which this workflow does between folding the target alone
        and

        folding it with a candidate -- silently renumbers nothing today but
        breaks

        the moment a chain is prepended or reordered. An id does not move.


        This is the same move AlphaFold 3 made away from AlphaFold 2's
        ':'-joined

        string, and that Boltz and Chai followed.
      properties:
        id:
          description: >-
            Caller-chosen chain identifier, unique within the request. One
            character, from A-Z, a-z or 0-9. A chain id is one character
            everywhere it is written -- a PDB chain field holds one, and the
            folding stack labels a chain from this same alphabet -- so a longer
            id could be accepted here and then have nowhere to go.
          maxLength: 1
          minLength: 1
          pattern: ^[A-Za-z0-9]$
          title: Id
          type: string
        sequence:
          description: >-
            This chain's residues. One chain only: a chain separator is rejected
            here, because `chains` already names the boundaries.
          minLength: 1
          title: Sequence
          type: string
      required:
        - id
        - sequence
      title: ChainInput
      type: object
    ResidueRef:
      description: >-
        A residue addressed per chain, which is what makes it unambiguous.


        A global count over the concatenated sequence shifts by one per
        preceding

        chain separator, so a caller who counted off the raw string silently
        gets the

        wrong residue. Naming the chain removes that failure mode entirely.
      properties:
        chain:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            The id of the chain this residue is in: one from `chains`, or one of
            the A, B, C labels the server gives the '|'-separated chains of
            `sequence`. Optional for a single-chain input; required when there
            are several, so that omitting it cannot silently mean the first one.
          title: Chain
        position:
          description: 1-indexed position within that chain.
          minimum: 1
          title: Position
          type: integer
      required:
        - position
      title: ResidueRef
      type: object
    MSA:
      properties:
        sequences:
          items:
            type: string
          title: Sequences
          type: array
        headers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          description: Optional alignment headers, including pairing keys.
          title: Headers
        deletions:
          anyOf:
            - items:
                items:
                  type: number
                type: array
              type: array
            - type: 'null'
          default: null
          description: >-
            Optional per-(row, match-column) a3m deletion counts, shape (depth,
            query match columns). Derived from the insertions when absent.
          title: Deletions
      required:
        - sequences
      title: MSA
      type: object
    FoldAllAtomInput:
      properties:
        sequences:
          items:
            discriminator:
              mapping:
                dna: '#/components/schemas/DNAInput'
                ligand: '#/components/schemas/LigandInput'
                protein: '#/components/schemas/ProteinInput'
                rna: '#/components/schemas/RNAInput'
              propertyName: type
            oneOf:
              - $ref: '#/components/schemas/ProteinInput'
              - $ref: '#/components/schemas/RNAInput'
              - $ref: '#/components/schemas/DNAInput'
              - $ref: '#/components/schemas/LigandInput'
          title: Sequences
          type: array
        covalent_bonds:
          anyOf:
            - items:
                $ref: '#/components/schemas/CovalentBond'
              type: array
            - type: 'null'
          default: null
          description: List of covalent bonds between chains in the molecular complex.
          title: Covalent Bonds
        pocket:
          anyOf:
            - $ref: '#/components/schemas/PocketConditioning'
            - type: 'null'
          default: null
          description: Pocket conditioning for binder design.
        distogram_conditioning:
          anyOf:
            - items:
                $ref: '#/components/schemas/DistogramConditioning'
              type: array
            - type: 'null'
          default: null
          description: List of distogram conditioning for chains.
          title: Distogram Conditioning
      required:
        - sequences
      title: FoldAllAtomInput
      type: object
    DNAInput:
      properties:
        id:
          anyOf:
            - type: string
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Id
        sequence:
          title: Sequence
          type: string
        modifications:
          anyOf:
            - items:
                $ref: '#/components/schemas/Modification'
              type: array
            - type: 'null'
          default: null
          title: Modifications
        type:
          const: dna
          title: Type
          type: string
      required:
        - sequence
        - type
      title: DNAInput
      type: object
    LigandInput:
      properties:
        id:
          anyOf:
            - type: string
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Id
        smiles:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Smiles
        ccd:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Ccd
        type:
          const: ligand
          title: Type
          type: string
      required:
        - type
      title: LigandInput
      type: object
    FoldMaxAccuracyProteinInput:
      properties:
        id:
          anyOf:
            - type: string
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Id
          description: >-
            Chain identifier, or a list of identifiers to request multiple
            copies. Every copy counts toward the input length and credit
            consumption.
        sequence:
          title: Sequence
          type: string
        modifications:
          anyOf:
            - items:
                $ref: '#/components/schemas/Modification'
              type: array
            - type: 'null'
          default: null
          title: Modifications
        type:
          const: protein
          title: Type
          type: string
      required:
        - sequence
        - type
      title: ProteinInput
      type: object
    RNAInput:
      properties:
        id:
          anyOf:
            - type: string
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Id
        sequence:
          title: Sequence
          type: string
        modifications:
          anyOf:
            - items:
                $ref: '#/components/schemas/Modification'
              type: array
            - type: 'null'
          default: null
          title: Modifications
        type:
          const: rna
          title: Type
          type: string
      required:
        - sequence
        - type
      title: RNAInput
      type: object
    CovalentBond:
      properties:
        chain_id1:
          description: First chain ID in the covalent bond.
          title: Chain Id1
          type: string
        res_idx1:
          description: Residue index in the first chain.
          title: Res Idx1
          type: integer
        atom_idx1:
          description: Atom index in the first residue.
          title: Atom Idx1
          type: integer
        chain_id2:
          description: Second chain ID in the covalent bond.
          title: Chain Id2
          type: string
        res_idx2:
          description: Residue index in the second chain.
          title: Res Idx2
          type: integer
        atom_idx2:
          description: Atom index in the second residue.
          title: Atom Idx2
          type: integer
      required:
        - chain_id1
        - res_idx1
        - atom_idx1
        - chain_id2
        - res_idx2
        - atom_idx2
      title: CovalentBond
      type: object
    PocketConditioning:
      properties:
        binder_chain_id:
          description: Chain ID of the binder.
          title: Binder Chain Id
          type: string
        contacts:
          description: List of contacts as tuples of (chain_id, residue_index).
          items:
            maxItems: 2
            minItems: 2
            prefixItems:
              - type: string
              - type: integer
            type: array
          title: Contacts
          type: array
      required:
        - binder_chain_id
        - contacts
      title: PocketConditioning
      type: object
    DistogramConditioning:
      properties:
        chain_id:
          description: Chain ID for distogram conditioning.
          title: Chain Id
          type: string
        distogram:
          description: Distogram matrix.
          items:
            items:
              type: integer
            type: array
          title: Distogram
          type: array
      required:
        - chain_id
        - distogram
      title: DistogramConditioning
      type: object
    ProteinInput:
      properties:
        id:
          anyOf:
            - type: string
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Id
        sequence:
          title: Sequence
          type: string
        msa:
          anyOf:
            - $ref: '#/components/schemas/MSA'
            - type: string
            - type: 'null'
          default: null
          title: Msa
        modifications:
          anyOf:
            - items:
                $ref: '#/components/schemas/Modification'
              type: array
            - type: 'null'
          default: null
          title: Modifications
        type:
          const: protein
          title: Type
          type: string
      required:
        - sequence
        - type
      title: ProteinInput
      type: object
    Modification:
      properties:
        position:
          description: >-
            Zero-indexed position in the sequence where modification should be
            applied.
          title: Position
          type: integer
        ccd:
          description: Chemical Component Dictionary (CCD) code for the modification.
          title: Ccd
          type: string
      required:
        - position
        - ccd
      title: Modification
      type: object
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Batch folding](https://docs.biohub.ai/api/protein/models/batch_folding.md)
- [fold_max_accuracy](https://docs.biohub.ai/api/protein/models/fold_max_accuracy.md)
- [design_binder](https://docs.biohub.ai/api/protein/models/design_binder.md)
- [Welcome to the Biohub Docs](https://docs.biohub.ai/index.md)
- [Batch API](https://docs.biohub.ai/api/protein/models/batch_overview.md)
