Get the checkpoints for a training job.
curl --request GET \
--url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/checkpoints \
--header "Authorization: Api-Key $BASETEN_API_KEY"{
"training_job": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"current_status": "<string>",
"instance_type": {
"id": "<string>",
"name": "<string>",
"memory_limit_mib": 123,
"millicpu_limit": 123,
"gpu_count": 123,
"gpu_type": "<string>",
"gpu_memory_limit_mib": 123
},
"updated_at": "2023-11-07T05:31:56Z",
"training_project_id": "<string>",
"training_project": {
"id": "<string>",
"name": "<string>"
},
"error_message": "<string>",
"name": "gpt-oss-job"
},
"checkpoints": [
{
"training_job_id": "<string>",
"checkpoint_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"checkpoint_type": "<string>",
"base_model": "<string>",
"lora_adapter_config": {},
"size_bytes": 123
}
]
}You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
A response to fetch checkpoints for a training job.
A response to fetch checkpoints for a training job.
The training job.
Show child attributes
Unique identifier of the training job.
Time the job was created in ISO 8601 format.
Current status of the training job.
Instance type of the training job.
Show child attributes
Identifier string for the instance type
Display name of the instance type
Memory limit of the instance type in Mebibytes
CPU limit of the instance type in millicpu
Number of GPUs on the instance type
Type of GPU on the instance type
Memory limit of the GPU on the instance type in Mebibytes
Time the job was updated in ISO 8601 format.
ID of the training project.
Error message if the training job failed.
Name of the training job.
"gpt-oss-job"
The checkpoints for the training job.
Show child attributes
The ID of the training job.
The ID of the checkpoint.
The timestamp of the checkpoint in ISO 8601 format.
The type of checkpoint.
The base model of the checkpoint.
The adapter config of the checkpoint.
The size of the checkpoint in bytes.
Was this page helpful?
curl --request GET \
--url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/checkpoints \
--header "Authorization: Api-Key $BASETEN_API_KEY"{
"training_job": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"current_status": "<string>",
"instance_type": {
"id": "<string>",
"name": "<string>",
"memory_limit_mib": 123,
"millicpu_limit": 123,
"gpu_count": 123,
"gpu_type": "<string>",
"gpu_memory_limit_mib": 123
},
"updated_at": "2023-11-07T05:31:56Z",
"training_project_id": "<string>",
"training_project": {
"id": "<string>",
"name": "<string>"
},
"error_message": "<string>",
"name": "gpt-oss-job"
},
"checkpoints": [
{
"training_job_id": "<string>",
"checkpoint_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"checkpoint_type": "<string>",
"base_model": "<string>",
"lora_adapter_config": {},
"size_bytes": 123
}
]
}