Retrieve a job
Poll a job until status is succeeded, failed, or cancelled. On success, fine_tuned_model is the name you predict against.
Path parameters
The ftjob- prefixed id returned when the job was created.
Identifies the job to read.
Response
The job.
Example response
{
"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"
}Changes
Changed in 1 of the 2 revisions of this API.232
- ●
removed the optional property
error/typefrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
error/typefrom the response with the404statusresponse-optional-property-removed
- ○
api operation id
getReflexJobremoved and replaced withgetFineTuningJobapi-operation-id-removed
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
- ○
api tag
fine-tuningaddedapi-tag-added
- ○
api tag
Reflexremovedapi-tag-removed
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
the response property
created_atbecame required for the status200response-property-became-required
- ○
the response property
errorbecame required for the status200response-property-became-required
- ○
the response property
error/codebecame required for the status200response-property-became-required
- ○
the response property
error/codebecame required for the status401response-property-became-required
- ○
the response property
error/codebecame required for the status404response-property-became-required
- ○
the response property
error/messagebecame required for the status200response-property-became-required
- ○
the response property
error/messagebecame required for the status401response-property-became-required
- ○
the response property
error/messagebecame required for the status404response-property-became-required
- ○
the response property
error/parambecame required for the status200response-property-became-required
- ○
the response property
fine_tuned_modelbecame required for the status200response-property-became-required
- ○
the response property
finished_atbecame required for the status200response-property-became-required
- ○
the response property
hyperparametersbecame required for the status200response-property-became-required
- ○
the response property
hyperparameters/batch_sizebecame required for the status200response-property-became-required
- ○
the response property
hyperparameters/learning_rate_multiplierbecame required for the status200response-property-became-required
- ○
the response property
hyperparameters/n_epochsbecame required for the status200response-property-became-required
- ○
the response property
idbecame required for the status200response-property-became-required
- ○
the response property
labelsbecame required for the status200response-property-became-required
- ○
the response property
modelbecame required for the status200response-property-became-required
- ○
the response property
objectbecame required for the status200response-property-became-required
- ○
the response property
resultbecame required for the status200response-property-became-required
- ○
the response property
result/accuracybecame required for the status200response-property-became-required
- ○
the response property
result/f1_scorebecame required for the status200response-property-became-required
- ○
the response property
statusbecame required for the status200response-property-became-required
- ○
the response property
suffixbecame required for the status200response-property-became-required
- ○
the response property
trained_examplesbecame required for the status200response-property-became-required
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●