List fine-tuning checkpoints
GEThttps:/api.openai.com/v1/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints
List checkpoints for a fine-tuning job.
Path parameters
fine_tuning_job_id
string
Required
The ID of the fine-tuning job to get checkpoints for.
Query parameters
after
string
Identifier for the last checkpoint ID from the previous pagination request.limit
integer
Defaults: 10
Number of checkpoints to retrieve.
Response
A list of fine-tuning checkpoint objects for a fine-tuning job.
Example request
1 curl https://api.openai.com/v1/fine_tuning/jobs/ftjob-abc123/checkpoints \2 -H "Authorization: Bearer $OPENAI_API_KEY"
Example response
1 {2 "object": "list"3 "data": [4 {5 "object": "fine_tuning.job.checkpoint",6 "id": "ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB",7 "created_at": 1721764867,8 "fine_tuned_model_checkpoint": "ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:96olL566:ckpt-step-2000",9 "metrics": {10 "full_valid_loss": 0.134,11 "full_valid_mean_token_accuracy": 0.87412 },13 "fine_tuning_job_id": "ftjob-abc123",14 "step_number": 2000,15 },16 {17 "object": "fine_tuning.job.checkpoint",18 "id": "ftckpt_enQCFmOTGj3syEpYVhBRLTSy",19 "created_at": 1721764800,20 "fine_tuned_model_checkpoint": "ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:7q8mpxmy:ckpt-step-1000",21 "metrics": {22 "full_valid_loss": 0.167,23 "full_valid_mean_token_accuracy": 0.78124 },25 "fine_tuning_job_id": "ftjob-abc123",26 "step_number": 1000,27 },28 ],29 "first_id": "ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB",30 "last_id": "ftckpt_enQCFmOTGj3syEpYVhBRLTSy",31 "has_more": true32 }
Built with