## List Results

`client.Protein.Design.ListResults(ctx, id, query) (*CursorPage[ProteinDesignListResultsResponse], error)`

**get** `/compute/v1/protein/design/{id}/results`

Retrieve paginated results from a protein design run

### Parameters

- `id string`

- `query ProteinDesignListResultsParams`

  - `AfterID param.Field[string]`

    Return results after this ID

  - `BeforeID param.Field[string]`

    Return results before this ID

  - `Limit param.Field[int64]`

    Max results to return. Defaults to 100.

  - `WorkspaceID param.Field[string]`

    Workspace ID. Only used with admin API keys. Ignored (or validated) for workspace-scoped keys.

### Returns

- `type ProteinDesignListResultsResponse struct{…}`

  A single generated protein design

  - `ID string`

    Unique result ID

  - `Artifacts ProteinDesignListResultsResponseArtifacts`

    - `Archive ProteinDesignListResultsResponseArtifactsArchive`

      - `URL string`

        URL to download the file

      - `URLExpiresAt Time`

        When the presigned URL expires

    - `Structure ProteinDesignListResultsResponseArtifactsStructure`

      - `URL string`

        URL to download the file

      - `URLExpiresAt Time`

        When the presigned URL expires

  - `CreatedAt Time`

  - `Entities []ProteinDesignListResultsResponseEntityUnion`

    Entities of the designed binder complex. Includes both designed entities and fixed entities from the input.

    - `type ProteinDesignListResultsResponseEntityProteinEntity struct{…}`

      - `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 []ProteinDesignListResultsResponseEntityProteinEntityModificationUnion`

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

        - `type ProteinDesignListResultsResponseEntityProteinEntityModificationCcdModification 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 ProteinDesignListResultsResponseEntityProteinEntityModificationSmilesModification struct{…}`

          - `ResidueIndex int64`

            0-based index of the residue to modify

          - `Type Smiles`

            - `const SmilesSmiles Smiles = "smiles"`

          - `Value string`

            SMILES string for the modification

    - `type ProteinDesignListResultsResponseEntityRnaEntity struct{…}`

      - `ChainIDs []string`

        Chain IDs for this entity

      - `Type Rna`

        - `const RnaRna Rna = "rna"`

      - `Value string`

        RNA nucleotide sequence (A, C, G, U, N)

      - `Cyclic bool`

        Whether the sequence is cyclic

      - `Modifications []ProteinDesignListResultsResponseEntityRnaEntityModificationUnion`

        Chemical modifications. Optional; defaults to an empty list when omitted.

        - `type ProteinDesignListResultsResponseEntityRnaEntityModificationCcdModification 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 ProteinDesignListResultsResponseEntityRnaEntityModificationSmilesModification struct{…}`

          - `ResidueIndex int64`

            0-based index of the residue to modify

          - `Type Smiles`

            - `const SmilesSmiles Smiles = "smiles"`

          - `Value string`

            SMILES string for the modification

    - `type ProteinDesignListResultsResponseEntityDnaEntity struct{…}`

      - `ChainIDs []string`

        Chain IDs for this entity

      - `Type Dna`

        - `const DnaDna Dna = "dna"`

      - `Value string`

        DNA nucleotide sequence (A, C, G, T, N)

      - `Cyclic bool`

        Whether the sequence is cyclic

      - `Modifications []ProteinDesignListResultsResponseEntityDnaEntityModificationUnion`

        Chemical modifications. Optional; defaults to an empty list when omitted.

        - `type ProteinDesignListResultsResponseEntityDnaEntityModificationCcdModification 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 ProteinDesignListResultsResponseEntityDnaEntityModificationSmilesModification struct{…}`

          - `ResidueIndex int64`

            0-based index of the residue to modify

          - `Type Smiles`

            - `const SmilesSmiles Smiles = "smiles"`

          - `Value string`

            SMILES string for the modification

    - `type ProteinDesignListResultsResponseEntityLigandCcdEntity struct{…}`

      - `ChainIDs []string`

        Chain IDs for this ligand

      - `Type LigandCcd`

        - `const LigandCcdLigandCcd LigandCcd = "ligand_ccd"`

      - `Value string`

        CCD code (e.g., ATP, ADP)

    - `type ProteinDesignListResultsResponseEntityLigandSmilesEntity struct{…}`

      - `ChainIDs []string`

        Chain IDs for this ligand

      - `Type LigandSmiles`

        - `const LigandSmilesLigandSmiles LigandSmiles = "ligand_smiles"`

      - `Value string`

        SMILES string representing the ligand

  - `Metrics ProteinDesignListResultsResponseMetrics`

    Structural and binding quality metrics for a designed protein binder

    - `BindingConfidence float64`

      Confidence that the designed binder binds the target (0-1). Primary metric for hit discovery.

    - `HelixFraction float64`

      Fraction of the designed sequence forming alpha helices (0-1).

    - `Iptm float64`

      Interface predicted TM score (0-1). Confidence in the protein-protein interface.

    - `LoopFraction float64`

      Fraction of the designed sequence in coil/loop regions (0-1).

    - `MinInteractionPae float64`

      Minimum predicted aligned error at the interface (Angstroms). Lower values indicate higher confidence.

    - `SheetFraction float64`

      Fraction of the designed sequence forming beta sheets (0-1).

    - `StructureConfidence float64`

      Confidence in the predicted 3D structure (0-1).

  - `Warnings []ProteinDesignListResultsResponseWarning`

    Warnings about potential quality issues with this result.

    - `Code string`

      Machine-readable warning code (e.g. "low_confidence", "unusual_geometry")

    - `Message string`

      Human-readable description of the warning

### 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"),
  )
  page, err := client.Protein.Design.ListResults(
    context.TODO(),
    "id",
    boltzapi.ProteinDesignListResultsParams{

    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", page)
}
```
