API Documentation
Overview
Python SDK Reference
End to End example
List custom tools
Get a custom tool
Create a custom tool
Update a custom tool
Delete a custom tool
Create a source upload
Build a custom tool
List build logs
Cancel a custom tool build
Run a custom tool
Publish a custom tool version
List custom tool versions
Finetunable Models
/api/modelsThe GET API endpoint /models lists the tools you can finetune: exactly the /tools entries marked finetune: true, each identical to its /tools entry, with the same authentication and the same access rules. Finetuning tools stay listed in /tools too.
Train a model with one by sending its name as model to POST /finetune (or POST /finetune-batch). This is not GET /finetuned-models, which lists the models you have already trained.
HTTP Response Status Codes
| Status code | Description |
|---|---|
| 200 | Successfully retrieved tools list |
| 400 | Bad request |
| 405 | Method not allowed |
| 500 | Internal server error |
View the tools you can finetune and their configurations.
1import requests
2
3api_key = "***************"
4headers = {'x-api-key': api_key}
5base_url = "https://app.tamarind.bio/api/"
6
7response = requests.get(base_url + "models", headers=headers)
8tools_data = response.json()
9print("Finetunable models:", tools_data)Response Format
1[
2 {
3 "name": "chemprop-finetune",
4 "displayName": "ChemProp Finetuning",
5 "finetune": true,
6 "github": "https://github.com/chemprop/chemprop",
7 "paper": "https://pubs.acs.org/doi/10.1021/acs.jcim.3c01250",
8 "settings": [
9 {
10 "name": "csvFile",
11 "required": true,
12 "extension": [
13 "csv"
14 ],
15 "description": "CSV file with a SMILES column and a property column"
16 },
17 {
18 "name": "smilesColumn",
19 "required": true,
20 "description": "Column in CSV containing SMILES strings"
21 },
22 {
23 "name": "propertyColumn",
24 "required": true,
25 "description": "Column in CSV containing the property to predict"
26 }
27 ],
28 "description": "Small-molecule property prediction finetuning",
29 "outputTypes": []
30 }
31]