Get generated protein designs
protein.design.list_results(strid, DesignListResultsParams**kwargs) -> SyncCursorPage[DesignListResultsResponse]
GET/compute/v1/protein/design/{id}/results
Retrieve paginated results from a protein 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 protein 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.protein.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",
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"metrics": {
"binding_confidence": 0,
"helix_fraction": 0,
"iptm": 0,
"loop_fraction": 0,
"min_interaction_pae": 0,
"sheet_fraction": 0,
"structure_confidence": 0
},
"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",
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"metrics": {
"binding_confidence": 0,
"helix_fraction": 0,
"iptm": 0,
"loop_fraction": 0,
"min_interaction_pae": 0,
"sheet_fraction": 0,
"structure_confidence": 0
},
"warnings": [
{
"code": "code",
"message": "message"
}
]
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}