List protein design runs
protein.design.list(DesignListParams**kwargs) -> SyncCursorPage[DesignListResponse]
GET/compute/v1/protein/design
List protein design runs, optionally filtered by workspace
Parameters
after_id: Optional[str]
Return results after this ID
before_id: Optional[str]
Return results before this ID
limit: Optional[int]
Max items to return. Defaults to 100.
minimum1
maximum100
workspace_id: Optional[str]
Filter by workspace ID. Only used with admin API keys. If not provided, defaults to the workspace associated with the API key, or the default workspace for admin keys.
Returns
List protein design runs
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()
page = page.data[0]
print(page.id){
"data": [
{
"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-protein-design",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"livemode": true,
"progress": {
"num_proteins_generated": 0,
"total_proteins_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"
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}Returns Examples
{
"data": [
{
"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-protein-design",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"livemode": true,
"progress": {
"num_proteins_generated": 0,
"total_proteins_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"
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}