## Start

`client.SmallMolecule.LibraryScreen.Start(ctx, body) (*SmallMoleculeLibraryScreenStartResponse, error)`

**post** `/compute/v1/small-molecule/library-screen`

Screen a set of small molecule candidates against a protein target

### Parameters

- `body SmallMoleculeLibraryScreenStartParams`

  - `Molecules param.Field[[]SmallMoleculeLibraryScreenStartParamsMolecule]`

    List of small molecules to screen.

    - `Smiles string`

      SMILES string of the molecule

    - `ID string`

      Optional identifier for this molecule

  - `Target param.Field[SmallMoleculeLibraryScreenStartParamsTarget]`

    Target protein with binding pocket for small molecule design or screening

    - `Entities []SmallMoleculeLibraryScreenStartParamsTargetEntity`

      Protein entities defining the target structure. Each entity represents a protein chain.

      - `ChainIDs []string`

        Chain IDs for this entity

      - `Type Protein`

        - `const ProteinProtein Protein = "protein"`

      - `Value string`

        Amino acid sequence (one-letter codes)

      - `Cyclic bool`

        Whether the sequence is cyclic

      - `Modifications []SmallMoleculeLibraryScreenStartParamsTargetEntityModificationUnion`

        Post-translational modifications. Optional; defaults to an empty list when omitted.

        - `type SmallMoleculeLibraryScreenStartParamsTargetEntityModificationCcdModification struct{…}`

          - `ResidueIndex int64`

            0-based index of the residue to modify

          - `Type Ccd`

            - `const CcdCcd Ccd = "ccd"`

          - `Value string`

            CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)

        - `type SmallMoleculeLibraryScreenStartParamsTargetEntityModificationSmilesModification struct{…}`

          - `ResidueIndex int64`

            0-based index of the residue to modify

          - `Type Smiles`

            - `const SmilesSmiles Smiles = "smiles"`

          - `Value string`

            SMILES string for the modification

    - `Bonds []SmallMoleculeLibraryScreenStartParamsTargetBond`

      Covalent bond constraints between atoms in the target complex. Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.

      - `Atom1 SmallMoleculeLibraryScreenStartParamsTargetBondAtom1Union`

        Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

        - `type SmallMoleculeLibraryScreenStartParamsTargetBondAtom1LigandAtom struct{…}`

          Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `AtomName string`

            Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

          - `ChainID string`

            Chain ID containing the atom

          - `Type LigandAtom`

            - `const LigandAtomLigandAtom LigandAtom = "ligand_atom"`

        - `type SmallMoleculeLibraryScreenStartParamsTargetBondAtom1PolymerAtom struct{…}`

          - `AtomName string`

            Standardized atom name (verifiable in CIF file on RCSB)

          - `ChainID string`

            Chain ID containing the atom

          - `ResidueIndex int64`

            0-based residue index

          - `Type PolymerAtom`

            - `const PolymerAtomPolymerAtom PolymerAtom = "polymer_atom"`

      - `Atom2 SmallMoleculeLibraryScreenStartParamsTargetBondAtom2Union`

        Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

        - `type SmallMoleculeLibraryScreenStartParamsTargetBondAtom2LigandAtom struct{…}`

          Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `AtomName string`

            Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

          - `ChainID string`

            Chain ID containing the atom

          - `Type LigandAtom`

            - `const LigandAtomLigandAtom LigandAtom = "ligand_atom"`

        - `type SmallMoleculeLibraryScreenStartParamsTargetBondAtom2PolymerAtom struct{…}`

          - `AtomName string`

            Standardized atom name (verifiable in CIF file on RCSB)

          - `ChainID string`

            Chain ID containing the atom

          - `ResidueIndex int64`

            0-based residue index

          - `Type PolymerAtom`

            - `const PolymerAtomPolymerAtom PolymerAtom = "polymer_atom"`

    - `Constraints []SmallMoleculeLibraryScreenStartParamsTargetConstraintUnion`

      Structural constraints (pocket and contact). Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.

      - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintPocketConstraint struct{…}`

        Constrains the binder to interact with specific pocket residues on the target.

        - `BinderChainID string`

          Chain ID of the binder molecule

        - `ContactResidues map[string, []int64]`

          Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and the value is an array of 0-indexed residue indices that define the pocket on that chain.

        - `MaxDistanceAngstrom float64`

          Maximum allowed distance in Angstroms between binder and pocket residues. Typical range: 4-8 A.

        - `Type Pocket`

          - `const PocketPocket Pocket = "pocket"`

        - `Force bool`

          Whether to force the constraint

      - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraint struct{…}`

        Contact constraint between two tokens. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

        - `MaxDistanceAngstrom float64`

          Maximum distance in Angstroms

        - `Token1 SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken1Union`

          Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken1PolymerContactToken struct{…}`

            - `ChainID string`

              Chain ID

            - `ResidueIndex int64`

              0-based residue index

            - `Type PolymerContact`

              - `const PolymerContactPolymerContact PolymerContact = "polymer_contact"`

          - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken1LigandContactToken struct{…}`

            Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `AtomName string`

              Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

            - `ChainID string`

              Chain ID

            - `Type LigandContact`

              - `const LigandContactLigandContact LigandContact = "ligand_contact"`

        - `Token2 SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken2Union`

          Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken2PolymerContactToken struct{…}`

            - `ChainID string`

              Chain ID

            - `ResidueIndex int64`

              0-based residue index

            - `Type PolymerContact`

              - `const PolymerContactPolymerContact PolymerContact = "polymer_contact"`

          - `type SmallMoleculeLibraryScreenStartParamsTargetConstraintContactConstraintToken2LigandContactToken struct{…}`

            Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `AtomName string`

              Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

            - `ChainID string`

              Chain ID

            - `Type LigandContact`

              - `const LigandContactLigandContact LigandContact = "ligand_contact"`

        - `Type Contact`

          - `const ContactContact Contact = "contact"`

        - `Force bool`

          Whether to force the constraint

    - `PocketResidues map[string, []int64]`

      Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A") and the value is an array of 0-indexed residue indices that define the binding pocket on that chain. When provided, these residues guide pocket extraction and add a derived pocket constraint during affinity predictions. That derived constraint remains separate from any explicit pocket constraints in target.constraints. When omitted, the model auto-detects the pocket.

    - `ReferenceLigands []string`

      Reference ligands as SMILES strings that help the model identify the binding pocket. When omitted, a set of drug-like default ligands is used for pocket detection.

  - `IdempotencyKey param.Field[string]`

    Client-provided key to prevent duplicate submissions on retries

  - `MoleculeFilters param.Field[SmallMoleculeLibraryScreenStartParamsMoleculeFilters]`

    Molecule filtering configuration. Controls both Boltz built-in SMARTS filtering and custom filters.

    - `BoltzSmartsCatalogFilterLevel SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevel`

      Controls the stringency of Boltz's built-in SMARTS structural alert filtering, which removes molecules matching known problematic substructures. 'recommended' (default): applies a curated set of alerts balancing safety and hit rate. 'extra': adds additional alerts beyond the recommended set for stricter filtering. 'aggressive': applies the most comprehensive alert set — may reject viable molecules. 'disabled': turns off Boltz SMARTS filtering entirely; only custom_filters will be applied.

      - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevelRecommended SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevel = "recommended"`

      - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevelExtra SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevel = "extra"`

      - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevelAggressive SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevel = "aggressive"`

      - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevelDisabled SmallMoleculeLibraryScreenStartParamsMoleculeFiltersBoltzSmartsCatalogFilterLevel = "disabled"`

    - `CustomFilters []SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterUnion`

      Custom filters to apply. Molecules must pass all filters (AND logic).

      - `type SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterLipinskiFilter struct{…}`

        Lipinski's Rule of Five filter. Rejects molecules that violate drug-likeness criteria based on molecular weight, LogP, hydrogen bond donors, and hydrogen bond acceptors.

        - `MaxHba float64`

          Maximum number of hydrogen bond acceptors. Lipinski threshold: 10

        - `MaxHbd float64`

          Maximum number of hydrogen bond donors. Lipinski threshold: 5

        - `MaxLogp float64`

          Maximum LogP. Lipinski threshold: 5

        - `MaxMw float64`

          Maximum molecular weight (Da). Lipinski threshold: 500

        - `Type LipinskiFilter`

          - `const LipinskiFilterLipinskiFilter LipinskiFilter = "lipinski_filter"`

        - `AllowSingleViolation bool`

          If true, one rule violation is allowed (classic Rule of Five). Defaults to false (all rules must pass).

      - `type SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilter struct{…}`

        Filter molecules by RDKit molecular descriptors. Each descriptor is constrained to a min/max range. Only descriptors you provide are checked — omitted descriptors are unconstrained.

        - `Type RdkitDescriptorFilter`

          - `const RdkitDescriptorFilterRdkitDescriptorFilter RdkitDescriptorFilter = "rdkit_descriptor_filter"`

        - `FractionCsp3 SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterFractionCsp3`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `MolLogp SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterMolLogp`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `MolWt SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterMolWt`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumAromaticRings SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumAromaticRings`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumHAcceptors SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumHAcceptors`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumHDonors SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumHDonors`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumHeteroatoms SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumHeteroatoms`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumRings SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumRings`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `NumRotatableBonds SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterNumRotatableBonds`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

        - `Tpsa SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterRdkitDescriptorFilterTpsa`

          Min/max range constraint for an RDKit molecular descriptor

          - `Max float64`

            Maximum allowed value (inclusive)

          - `Min float64`

            Minimum allowed value (inclusive)

      - `type SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCustomFilter struct{…}`

        Filter molecules by custom SMARTS patterns. Molecules matching any pattern are rejected.

        - `Patterns []string`

          SMARTS patterns. Molecules matching any pattern are rejected.

        - `Type SmartsCustomFilter`

          - `const SmartsCustomFilterSmartsCustomFilter SmartsCustomFilter = "smarts_custom_filter"`

      - `type SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilter struct{…}`

        Filter molecules using a predefined SMARTS catalog of structural alerts.

        - `Catalog SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog`

          Predefined SMARTS catalog to apply. PAINS, BRENK, ChEMBL, and NIH catalogs reject known problematic substructures.

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogPains SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "PAINS"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogPainsA SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "PAINS_A"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogPainsB SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "PAINS_B"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogPainsC SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "PAINS_C"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogBrenk SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "BRENK"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChembl SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblBms SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_BMS"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblDundee SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_Dundee"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblGlaxo SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_Glaxo"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblInpharmatica SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_Inpharmatica"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblLint SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_LINT"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblMlsmr SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_MLSMR"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogChemblSureChEmbl SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "CHEMBL_SureChEMBL"`

          - `const SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalogNih SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmartsCatalogFilterCatalog = "NIH"`

        - `Type SmartsCatalogFilter`

          - `const SmartsCatalogFilterSmartsCatalogFilter SmartsCatalogFilter = "smarts_catalog_filter"`

      - `type SmallMoleculeLibraryScreenStartParamsMoleculeFiltersCustomFilterSmilesRegexFilter struct{…}`

        Filter molecules by regex patterns on their SMILES representation.

        - `Patterns []string`

          Regex patterns applied to SMILES strings. Molecules matching any pattern are rejected.

        - `Type SmilesRegexFilter`

          - `const SmilesRegexFilterSmilesRegexFilter SmilesRegexFilter = "smiles_regex_filter"`

  - `WorkspaceID param.Field[string]`

    Target workspace ID (admin keys only; ignored for workspace keys)

### Returns

- `type SmallMoleculeLibraryScreenStartResponse struct{…}`

  A small molecule library screening engine run

  - `ID string`

    Unique SmScreen identifier

  - `CompletedAt Time`

  - `CreatedAt Time`

  - `DataDeletedAt Time`

    When the input, output, and result data was permanently deleted. Null if data has not been deleted.

  - `Engine BoltzSmScreen`

    Engine used for small molecule library screen

    - `const BoltzSmScreenBoltzSmScreen BoltzSmScreen = "boltz-sm-screen"`

  - `EngineVersion string`

    Engine version used for small molecule library screen

  - `Error SmallMoleculeLibraryScreenStartResponseError`

    - `Code string`

      Machine-readable error code

    - `Message string`

      Human-readable error message

    - `Details any`

      Additional field-level error details keyed by input path, when available.

  - `Input SmallMoleculeLibraryScreenStartResponseInput`

    Pipeline input (null if data deleted)

    - `Molecules SmallMoleculeLibraryScreenStartResponseInputMolecules`

      - `URL string`

        URL to download the file

      - `URLExpiresAt Time`

        When the presigned URL expires

    - `Target SmallMoleculeLibraryScreenStartResponseInputTarget`

      Target protein with binding pocket for small molecule design or screening

      - `Entities []SmallMoleculeLibraryScreenStartResponseInputTargetEntity`

        Protein entities defining the target structure. Each entity represents a protein chain.

        - `ChainIDs []string`

          Chain IDs for this entity

        - `Type Protein`

          - `const ProteinProtein Protein = "protein"`

        - `Value string`

          Amino acid sequence (one-letter codes)

        - `Cyclic bool`

          Whether the sequence is cyclic

        - `Modifications []SmallMoleculeLibraryScreenStartResponseInputTargetEntityModificationUnion`

          Post-translational modifications. Optional; defaults to an empty list when omitted.

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetEntityModificationCcdModificationResponse struct{…}`

            - `ResidueIndex int64`

              0-based index of the residue to modify

            - `Type Ccd`

              - `const CcdCcd Ccd = "ccd"`

            - `Value string`

              CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetEntityModificationSmilesModificationResponse struct{…}`

            - `ResidueIndex int64`

              0-based index of the residue to modify

            - `Type Smiles`

              - `const SmilesSmiles Smiles = "smiles"`

            - `Value string`

              SMILES string for the modification

      - `Bonds []SmallMoleculeLibraryScreenStartResponseInputTargetBond`

        Covalent bond constraints between atoms in the target complex. Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.

        - `Atom1 SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom1Union`

          Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom1LigandAtomResponse struct{…}`

            Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `AtomName string`

              Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

            - `ChainID string`

              Chain ID containing the atom

            - `Type LigandAtom`

              - `const LigandAtomLigandAtom LigandAtom = "ligand_atom"`

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom1PolymerAtomResponse struct{…}`

            - `AtomName string`

              Standardized atom name (verifiable in CIF file on RCSB)

            - `ChainID string`

              Chain ID containing the atom

            - `ResidueIndex int64`

              0-based residue index

            - `Type PolymerAtom`

              - `const PolymerAtomPolymerAtom PolymerAtom = "polymer_atom"`

        - `Atom2 SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom2Union`

          Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom2LigandAtomResponse struct{…}`

            Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `AtomName string`

              Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

            - `ChainID string`

              Chain ID containing the atom

            - `Type LigandAtom`

              - `const LigandAtomLigandAtom LigandAtom = "ligand_atom"`

          - `type SmallMoleculeLibraryScreenStartResponseInputTargetBondAtom2PolymerAtomResponse struct{…}`

            - `AtomName string`

              Standardized atom name (verifiable in CIF file on RCSB)

            - `ChainID string`

              Chain ID containing the atom

            - `ResidueIndex int64`

              0-based residue index

            - `Type PolymerAtom`

              - `const PolymerAtomPolymerAtom PolymerAtom = "polymer_atom"`

      - `Constraints []SmallMoleculeLibraryScreenStartResponseInputTargetConstraintUnion`

        Structural constraints (pocket and contact). Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.

        - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintPocketConstraintResponse struct{…}`

          Constrains the binder to interact with specific pocket residues on the target.

          - `BinderChainID string`

            Chain ID of the binder molecule

          - `ContactResidues map[string, []int64]`

            Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and the value is an array of 0-indexed residue indices that define the pocket on that chain.

          - `MaxDistanceAngstrom float64`

            Maximum allowed distance in Angstroms between binder and pocket residues. Typical range: 4-8 A.

          - `Type Pocket`

            - `const PocketPocket Pocket = "pocket"`

          - `Force bool`

            Whether to force the constraint

        - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponse struct{…}`

          Contact constraint between two tokens. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

          - `MaxDistanceAngstrom float64`

            Maximum distance in Angstroms

          - `Token1 SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken1Union`

            Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken1PolymerContactTokenResponse struct{…}`

              - `ChainID string`

                Chain ID

              - `ResidueIndex int64`

                0-based residue index

              - `Type PolymerContact`

                - `const PolymerContactPolymerContact PolymerContact = "polymer_contact"`

            - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken1LigandContactTokenResponse struct{…}`

              Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

              - `AtomName string`

                Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

              - `ChainID string`

                Chain ID

              - `Type LigandContact`

                - `const LigandContactLigandContact LigandContact = "ligand_contact"`

          - `Token2 SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken2Union`

            Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

            - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken2PolymerContactTokenResponse struct{…}`

              - `ChainID string`

                Chain ID

              - `ResidueIndex int64`

                0-based residue index

              - `Type PolymerContact`

                - `const PolymerContactPolymerContact PolymerContact = "polymer_contact"`

            - `type SmallMoleculeLibraryScreenStartResponseInputTargetConstraintContactConstraintResponseToken2LigandContactTokenResponse struct{…}`

              Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.

              - `AtomName string`

                Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.

              - `ChainID string`

                Chain ID

              - `Type LigandContact`

                - `const LigandContactLigandContact LigandContact = "ligand_contact"`

          - `Type Contact`

            - `const ContactContact Contact = "contact"`

          - `Force bool`

            Whether to force the constraint

      - `PocketResidues map[string, []int64]`

        Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A") and the value is an array of 0-indexed residue indices that define the binding pocket on that chain. When provided, these residues guide pocket extraction and add a derived pocket constraint during affinity predictions. That derived constraint remains separate from any explicit pocket constraints in target.constraints. When omitted, the model auto-detects the pocket.

      - `ReferenceLigands []string`

        Reference ligands as SMILES strings that help the model identify the binding pocket. When omitted, a set of drug-like default ligands is used for pocket detection.

    - `MoleculeFilters SmallMoleculeLibraryScreenStartResponseInputMoleculeFilters`

      Molecule filtering configuration. Controls both Boltz built-in SMARTS filtering and custom filters.

      - `BoltzSmartsCatalogFilterLevel SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevel`

        Controls the stringency of Boltz's built-in SMARTS structural alert filtering, which removes molecules matching known problematic substructures. 'recommended' (default): applies a curated set of alerts balancing safety and hit rate. 'extra': adds additional alerts beyond the recommended set for stricter filtering. 'aggressive': applies the most comprehensive alert set — may reject viable molecules. 'disabled': turns off Boltz SMARTS filtering entirely; only custom_filters will be applied.

        - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevelRecommended SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevel = "recommended"`

        - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevelExtra SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevel = "extra"`

        - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevelAggressive SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevel = "aggressive"`

        - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevelDisabled SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersBoltzSmartsCatalogFilterLevel = "disabled"`

      - `CustomFilters []SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterUnion`

        Custom filters to apply. Molecules must pass all filters (AND logic).

        - `type SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterLipinskiFilterResponse struct{…}`

          Lipinski's Rule of Five filter. Rejects molecules that violate drug-likeness criteria based on molecular weight, LogP, hydrogen bond donors, and hydrogen bond acceptors.

          - `MaxHba float64`

            Maximum number of hydrogen bond acceptors. Lipinski threshold: 10

          - `MaxHbd float64`

            Maximum number of hydrogen bond donors. Lipinski threshold: 5

          - `MaxLogp float64`

            Maximum LogP. Lipinski threshold: 5

          - `MaxMw float64`

            Maximum molecular weight (Da). Lipinski threshold: 500

          - `Type LipinskiFilter`

            - `const LipinskiFilterLipinskiFilter LipinskiFilter = "lipinski_filter"`

          - `AllowSingleViolation bool`

            If true, one rule violation is allowed (classic Rule of Five). Defaults to false (all rules must pass).

        - `type SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponse struct{…}`

          Filter molecules by RDKit molecular descriptors. Each descriptor is constrained to a min/max range. Only descriptors you provide are checked — omitted descriptors are unconstrained.

          - `Type RdkitDescriptorFilter`

            - `const RdkitDescriptorFilterRdkitDescriptorFilter RdkitDescriptorFilter = "rdkit_descriptor_filter"`

          - `FractionCsp3 SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseFractionCsp3`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `MolLogp SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseMolLogp`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `MolWt SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseMolWt`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumAromaticRings SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumAromaticRings`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumHAcceptors SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumHAcceptors`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumHDonors SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumHDonors`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumHeteroatoms SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumHeteroatoms`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumRings SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumRings`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `NumRotatableBonds SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseNumRotatableBonds`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

          - `Tpsa SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterRdkitDescriptorFilterResponseTpsa`

            Min/max range constraint for an RDKit molecular descriptor

            - `Max float64`

              Maximum allowed value (inclusive)

            - `Min float64`

              Minimum allowed value (inclusive)

        - `type SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCustomFilterResponse struct{…}`

          Filter molecules by custom SMARTS patterns. Molecules matching any pattern are rejected.

          - `Patterns []string`

            SMARTS patterns. Molecules matching any pattern are rejected.

          - `Type SmartsCustomFilter`

            - `const SmartsCustomFilterSmartsCustomFilter SmartsCustomFilter = "smarts_custom_filter"`

        - `type SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponse struct{…}`

          Filter molecules using a predefined SMARTS catalog of structural alerts.

          - `Catalog SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog`

            Predefined SMARTS catalog to apply. PAINS, BRENK, ChEMBL, and NIH catalogs reject known problematic substructures.

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogPains SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "PAINS"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogPainsA SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "PAINS_A"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogPainsB SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "PAINS_B"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogPainsC SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "PAINS_C"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogBrenk SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "BRENK"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChembl SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblBms SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_BMS"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblDundee SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_Dundee"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblGlaxo SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_Glaxo"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblInpharmatica SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_Inpharmatica"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblLint SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_LINT"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblMlsmr SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_MLSMR"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogChemblSureChEmbl SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "CHEMBL_SureChEMBL"`

            - `const SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalogNih SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmartsCatalogFilterResponseCatalog = "NIH"`

          - `Type SmartsCatalogFilter`

            - `const SmartsCatalogFilterSmartsCatalogFilter SmartsCatalogFilter = "smarts_catalog_filter"`

        - `type SmallMoleculeLibraryScreenStartResponseInputMoleculeFiltersCustomFilterSmilesRegexFilterResponse struct{…}`

          Filter molecules by regex patterns on their SMILES representation.

          - `Patterns []string`

            Regex patterns applied to SMILES strings. Molecules matching any pattern are rejected.

          - `Type SmilesRegexFilter`

            - `const SmilesRegexFilterSmilesRegexFilter SmilesRegexFilter = "smiles_regex_filter"`

  - `Livemode bool`

    Whether this resource was created with a live API key.

  - `Progress SmallMoleculeLibraryScreenStartResponseProgress`

    - `NumMoleculesFailed int64`

      Number of accepted molecules that reached terminal failure during screening.

    - `NumMoleculesScreened int64`

      Number of accepted molecules that produced usable screening results.

    - `TotalMoleculesToScreen int64`

      Total number of molecules accepted into screening after server-side validation and filtering.

    - `LatestResultID string`

      ID of the most recently screened result

    - `RejectionSummary SmallMoleculeLibraryScreenStartResponseProgressRejectionSummary`

      - `FilteredCount int64`

        Number of submitted molecules removed by server-side filtering rules.

      - `InvalidCount int64`

        Number of submitted molecules rejected as invalid input.

  - `StartedAt Time`

  - `Status SmallMoleculeLibraryScreenStartResponseStatus`

    - `const SmallMoleculeLibraryScreenStartResponseStatusPending SmallMoleculeLibraryScreenStartResponseStatus = "pending"`

    - `const SmallMoleculeLibraryScreenStartResponseStatusRunning SmallMoleculeLibraryScreenStartResponseStatus = "running"`

    - `const SmallMoleculeLibraryScreenStartResponseStatusSucceeded SmallMoleculeLibraryScreenStartResponseStatus = "succeeded"`

    - `const SmallMoleculeLibraryScreenStartResponseStatusFailed SmallMoleculeLibraryScreenStartResponseStatus = "failed"`

    - `const SmallMoleculeLibraryScreenStartResponseStatusStopped SmallMoleculeLibraryScreenStartResponseStatus = "stopped"`

  - `StoppedAt Time`

  - `WorkspaceID string`

    Workspace ID

  - `IdempotencyKey string`

    Client-provided idempotency key

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/boltz-bio/boltz-api-go"
  "github.com/boltz-bio/boltz-api-go/option"
)

func main() {
  client := boltzapi.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.SmallMolecule.LibraryScreen.Start(context.TODO(), boltzapi.SmallMoleculeLibraryScreenStartParams{
    Molecules: []boltzapi.SmallMoleculeLibraryScreenStartParamsMolecule{boltzapi.SmallMoleculeLibraryScreenStartParamsMolecule{
      Smiles: "smiles",
    }},
    Target: boltzapi.SmallMoleculeLibraryScreenStartParamsTarget{
      Entities: []boltzapi.SmallMoleculeLibraryScreenStartParamsTargetEntity{boltzapi.SmallMoleculeLibraryScreenStartParamsTargetEntity{
        ChainIDs: []string{"string"},
        Value: "value",
      }},
    },
  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.ID)
}
```
