List resume and sampler checkpoint metadata for a run.
curl --request GET \
--url http://localhost:3001/v1/training/runs/{run_id}/checkpoints \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/checkpoints"
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/{run_id}/checkpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"kind": "<string>",
"base_model": "<string>",
"model_revision": "<string>",
"training_step": 123,
"weight_version": 123,
"checksum": "<string>",
"size_bytes": 123,
"optimizer_included": true,
"status": "available",
"retain_until": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}unified-training
List resume and sampler checkpoint metadata for a run.
GET
/
v1
/
training
/
runs
/
{run_id}
/
checkpoints
List resume and sampler checkpoint metadata for a run.
curl --request GET \
--url http://localhost:3001/v1/training/runs/{run_id}/checkpoints \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/checkpoints"
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/{run_id}/checkpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"kind": "<string>",
"base_model": "<string>",
"model_revision": "<string>",
"training_step": 123,
"weight_version": 123,
"checksum": "<string>",
"size_bytes": 123,
"optimizer_included": true,
"status": "available",
"retain_until": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}