List fine-tuning events
get /fine_tuning/jobs/\{fine_tuning_job_id\}/events
Get status updates for a fine-tuning job.
Path Parameters
fine_tuning_job_id: string
Query Parameters
after: optional stringIdentifier for the last event from the previous pagination request.
limit: optional numberNumber of events to retrieve.
Returns
data: array of FineTuningJobEventid: stringThe object identifier.
created_at: numberThe Unix timestamp (in seconds) for when the fine-tuning job was created.
level: "info" or "warn" or "error"The log level of the event.
"info""warn""error"
message: stringThe message of the event.
object: "fine_tuning.job.event"The object type, which is always "fine_tuning.job.event".
"fine_tuning.job.event"
data: optional unknownThe data associated with the event.
type: optional "message" or "metrics"The type of event.
"message""metrics"
has_more: booleanobject: "list""list"
Example
curl https://api.openai.com/v1/fine_tuning/jobs/$FINE_TUNING_JOB_ID/events \
-H "Authorization: Bearer $OPENAI_API_KEY"Response
{
"data": [
{
"id": "id",
"created_at": 0,
"level": "info",
"message": "message",
"object": "fine_tuning.job.event",
"data": {},
"type": "message"
}
],
"has_more": true,
"object": "list"
}Example
curl https://api.openai.com/v1/fine_tuning/jobs/ftjob-abc123/events \
-H "Authorization: Bearer $OPENAI_API_KEY"Response
{
"object": "list",
"data": [
{
"object": "fine_tuning.job.event",
"id": "ft-event-ddTJfwuMVpfLXseO0Am0Gqjm",
"created_at": 1721764800,
"level": "info",
"message": "Fine tuning job successfully completed",
"data": null,
"type": "message"
},
{
"object": "fine_tuning.job.event",
"id": "ft-event-tyiGuB72evQncpH87xe505Sv",
"created_at": 1721764800,
"level": "info",
"message": "New fine-tuned model created: ft:gpt-4o-mini:openai::7p4lURel",
"data": null,
"type": "message"
}
],
"has_more": true
}