Get small molecule design run status
client.SmallMolecule.Design.Get(ctx, id, query) (*SmallMoleculeDesignGetResponse, error)
GET/compute/v1/small-molecule/design/{id}
Retrieve a design run by ID, including progress and status
Parameters
id string
Returns
Get small molecule design run status
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"),
)
design, err := client.SmallMolecule.Design.Get(
context.TODO(),
"id",
boltzapi.SmallMoleculeDesignGetParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", design.ID)
}
{
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-sm-design",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"num_molecules": 10,
"target": {
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"bonds": [
{
"atom1": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
},
"atom2": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
}
}
],
"constraints": [
{
"binder_chain_id": "binder_chain_id",
"contact_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"max_distance_angstrom": 0,
"type": "pocket",
"force": true
}
],
"pocket_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"reference_ligands": [
"string"
]
},
"chemical_space": "enamine_real",
"idempotency_key": "idempotency_key",
"molecule_filters": {
"boltz_smarts_catalog_filter_level": "recommended",
"custom_filters": [
{
"max_hba": 0,
"max_hbd": 0,
"max_logp": 0,
"max_mw": 0,
"type": "lipinski_filter",
"allow_single_violation": true
}
]
},
"workspace_id": "workspace_id"
},
"livemode": true,
"progress": {
"num_molecules_generated": 0,
"total_molecules_to_generate": 1,
"latest_result_id": "latest_result_id"
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}Returns Examples
{
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-sm-design",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"num_molecules": 10,
"target": {
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"bonds": [
{
"atom1": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
},
"atom2": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
}
}
],
"constraints": [
{
"binder_chain_id": "binder_chain_id",
"contact_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"max_distance_angstrom": 0,
"type": "pocket",
"force": true
}
],
"pocket_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"reference_ligands": [
"string"
]
},
"chemical_space": "enamine_real",
"idempotency_key": "idempotency_key",
"molecule_filters": {
"boltz_smarts_catalog_filter_level": "recommended",
"custom_filters": [
{
"max_hba": 0,
"max_hbd": 0,
"max_logp": 0,
"max_mw": 0,
"type": "lipinski_filter",
"allow_single_violation": true
}
]
},
"workspace_id": "workspace_id"
},
"livemode": true,
"progress": {
"num_molecules_generated": 0,
"total_molecules_to_generate": 1,
"latest_result_id": "latest_result_id"
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}