TsgcHTTP_API_OpenAI › Methods › RetrieveFineTune
Retrieves a legacy fine-tune by id (deprecated, use RetrieveFineTuningJob instead)
function RetrieveFineTune(const aFineTuneId: string) : TsgcOpenAIClass_Response_FineTune;
| Name | Type | Description |
|---|---|---|
aFineTuneId | const string | Identifier of the legacy fine-tune, typically starting with "ft-" |
Legacy fine-tune descriptor including Status and FineTunedModel (TsgcOpenAIClass_Response_FineTune)
Calls the legacy GET /v1/fine-tunes/{fine_tune_id} endpoint. This API is deprecated; new code should target RetrieveFineTuningJob against the current /v1/fine_tuning/jobs resource. Use this method only for fine-tunes that were originally created through CreateFineTune.
oResponse := oAPI.RetrieveFineTune('ft-abc123');
ShowMessage('Status: ' + oResponse.Status);