List fine-tuning checkpoints

GET /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints

List checkpoints for a fine-tuning job.

Path parameters

Query parameters

  • after string

    Identifier for the last checkpoint ID from the previous pagination request.

  • limit integer

    Number of checkpoints to retrieve.

    Default value is 10.

Responses

GET /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints
curl \
 -X GET https://api.openai.com/v1/fine_tuning/jobs/ft-AF1WoRqd3aJAHsqc9NY7iL8F/checkpoints \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "string",
      "created_at": 42,
      "fine_tuned_model_checkpoint": "string",
      "step_number": 42,
      "metrics": {
        "step": 42.0,
        "train_loss": 42.0,
        "train_mean_token_accuracy": 42.0,
        "valid_loss": 42.0,
        "valid_mean_token_accuracy": 42.0,
        "full_valid_loss": 42.0,
        "full_valid_mean_token_accuracy": 42.0
      },
      "fine_tuning_job_id": "string",
      "object": "fine_tuning.job.checkpoint"
    }
  ],
  "object": "list",
  "first_id": "string",
  "last_id": "string",
  "has_more": true
}