Get generated small molecule designs
small_molecule.design.list_results(strid, DesignListResultsParams**kwargs) -> SyncCursorPage[DesignListResultsResponse]
GET/compute/v1/small-molecule/design/{id}/results
Retrieve paginated results from a design run
Parameters
id: str
after_id: Optional[str]
Return results after this ID
before_id: Optional[str]
Return results before this ID
limit: Optional[int]
Max results to return. Defaults to 100.
minimum1
maximum1000
workspace_id: Optional[str]
Workspace ID. Only used with admin API keys. Ignored (or validated) for workspace-scoped keys.
Returns
Get generated small molecule designs
import os
from boltz_api import Boltz
client = Boltz(
api_key=os.environ.get("BOLTZ_API_KEY"), # This is the default and can be omitted
)
page = client.small_molecule.design.list_results(
id="id",
)
page = page.data[0]
print(page.id){
"data": [
{
"id": "id",
"artifacts": {
"archive": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"structure": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
}
},
"created_at": "2019-12-27T18:11:19.117Z",
"metrics": {
"binding_confidence": 0,
"complex_iplddt": 0,
"complex_plddt": 0,
"iptm": 0,
"optimization_score": 0,
"ptm": 0,
"structure_confidence": 0
},
"smiles": "smiles",
"warnings": [
{
"code": "code",
"message": "message"
}
]
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}Returns Examples
{
"data": [
{
"id": "id",
"artifacts": {
"archive": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"structure": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
}
},
"created_at": "2019-12-27T18:11:19.117Z",
"metrics": {
"binding_confidence": 0,
"complex_iplddt": 0,
"complex_plddt": 0,
"iptm": 0,
"optimization_score": 0,
"ptm": 0,
"structure_confidence": 0
},
"smiles": "smiles",
"warnings": [
{
"code": "code",
"message": "message"
}
]
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}