cURL
curl --request GET \
--url http://localhost:3001/v1/training/runs \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3001/v1/training/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"status": "created",
"base_model": "<string>",
"model_revision": "<string>",
"resource_profile": "<string>",
"tuning_mode": "lora",
"checkpoint_id": "<string>",
"next_seq_id": 2,
"sampler_id": "<string>",
"latest_weight_version": 1,
"error_code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}unified-training
Get v1trainingruns
GET
/
v1
/
training
/
runs
cURL
curl --request GET \
--url http://localhost:3001/v1/training/runs \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3001/v1/training/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"status": "created",
"base_model": "<string>",
"model_revision": "<string>",
"resource_profile": "<string>",
"tuning_mode": "lora",
"checkpoint_id": "<string>",
"next_seq_id": 2,
"sampler_id": "<string>",
"latest_weight_version": 1,
"error_code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}Authorizations
Whitney-issued API key. No organization-selection header is accepted.
Query Parameters
Restrict results to a session owned by this organization.
Pattern:
^wts_[0-9a-f]{32}$Response
Durable runs for this organization.
Show child attributes
Show child attributes
