Skip to content

List checkpoints for a fine-tuning job.

GET
/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints

Authorizations

Parameters

Path Parameters

fine_tuning_job_id
required
string
ft-AF1WoRqd3aJAHsqc9NY7iL8F

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
default: 10

Number of checkpoints to retrieve.

Responses

200

OK

object
data
required
Array<object>

The fine_tuning.job.checkpoint object represents a model checkpoint for a fine-tuning job that is ready to use.

object
id
required

The checkpoint identifier, which can be referenced in the API endpoints.

string
created_at
required

The Unix timestamp (in seconds) for when the checkpoint was created.

integer
fine_tuned_model_checkpoint
required

The name of the fine-tuned checkpoint model that is created.

string
step_number
required

The step number that the checkpoint was created at.

integer
metrics
required

Metrics at the step number during the fine-tuning job.

object
step
number
train_loss
number
train_mean_token_accuracy
number
valid_loss
number
valid_mean_token_accuracy
number
full_valid_loss
number
full_valid_mean_token_accuracy
number
fine_tuning_job_id
required

The name of the fine-tuning job that this checkpoint was created from.

string
object
required

The object type, which is always “fine_tuning.job.checkpoint”.

string
Allowed values: fine_tuning.job.checkpoint
object
required
string
Allowed values: list
first_id
string
nullable
last_id
string
nullable
has_more
required
boolean