fine-tuning
List jobs
Return the key's jobs, newest first.
get/v1/fine_tuning/jobs
Query parameters
limitinteger
Jobs per page. Default 20, max 100.
Example:20
How many jobs to return in this page.
afterstring
Job id cursor. Returns jobs created before it.
Example:ftjob-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d
Pagination cursor — pass the last id you saw.
Response
A page of jobs.
Example response
{
"object": "list",
"data": [
{
"id": "ftjob-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"object": "fine_tuning.job",
"model": "guardrail",
"created_at": 1780107000,
"finished_at": 1780107148,
"fine_tuned_model": "support-classifier",
"status": "succeeded",
"labels": [
"billing",
"bug"
],
"trained_examples": 10,
"hyperparameters": {
"n_epochs": 3,
"batch_size": "auto",
"learning_rate_multiplier": "auto"
},
"result": {
"accuracy": 0.95,
"f1_score": 0.94
},
"error": null,
"suffix": "support-classifier"
}
],
"has_more": false
}