检索微调任务

Get info about a fine-tuning job. [Learn more about fine-tuning](https://platform.openai.com/docs/guides/fine-tuning)

get
/fine_tuning/jobs/{fine_tuning_job_id}
Authorizations
x-portkey-api-keystringRequired
x-portkey-virtual-keystringRequired
Path parameters
fine_tuning_job_idstringRequired

The ID of the fine-tuning job.

Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F
Responses
chevron-right
200

OK

application/json

The fine_tuning.job object represents a fine-tuning job that has been created through the API.

idstringRequired

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

created_atintegerRequired

The Unix timestamp (in seconds) for when the fine-tuning job was created.

fine_tuned_modelstring · nullableRequired

The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.

finished_atinteger · nullableRequired

The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.

modelstringRequired

The base model that is being fine-tuned.

objectstring · enumRequired

The object type, which is always "fine_tuning.job".

Possible values:
organization_idstringRequired

The organization that owns the fine-tuning job.

result_filesstring[]Required

The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.

Example: file-abc123
statusstring · enumRequired

The current status of the fine-tuning job, which can be either validating_files, queued, running, succeeded, failed, or cancelled.

Possible values:
trained_tokensinteger · nullableRequired

The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.

training_filestringRequired

The file ID used for training. You can retrieve the training data with the Files API.

validation_filestring · nullableRequired

The file ID used for validation. You can retrieve the validation results with the Files API.

seedintegerRequired

The seed used for the fine-tuning job.

estimated_finishinteger · nullableOptional

The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.

get
/fine_tuning/jobs/{fine_tuning_job_id}
200

OK

Last updated