TsgcHTTP_API_OpenAIMethods › RetrieveFineTune

RetrieveFineTune Method

Retrieves a legacy fine-tune by id (deprecated, use RetrieveFineTuningJob instead)

Syntax

function RetrieveFineTune(const aFineTuneId: string) : TsgcOpenAIClass_Response_FineTune;

Parameters

NameTypeDescription
aFineTuneIdconst stringIdentifier of the legacy fine-tune, typically starting with "ft-"

Return Value

Legacy fine-tune descriptor including Status and FineTunedModel (TsgcOpenAIClass_Response_FineTune)

Remarks

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.

Example

oResponse := oAPI.RetrieveFineTune('ft-abc123');
ShowMessage('Status: ' + oResponse.Status);

Back to Methods