TsgcHTTP_API_OpenAIMethods › ListFineTuneEvents

ListFineTuneEvents Method

Lists events for a legacy fine-tune (deprecated, use ListFineTuningJobEvents instead)

Syntax

function ListFineTuneEvents(const aFineTuneId: string) : TsgcOpenAIClass_Response_FineTune_Events;

Parameters

NameTypeDescription
aFineTuneIdconst stringIdentifier of the legacy fine-tune whose events to read

Return Value

Collection of event records with level, message and timestamp (TsgcOpenAIClass_Response_FineTune_Events)

Remarks

Calls the legacy GET /v1/fine-tunes/{fine_tune_id}/events endpoint. This API is deprecated; for current fine-tuning jobs use ListFineTuningJobEvents instead. Events describe the lifecycle of a training run, including validation, training and export phases.

Example

oResponse := oAPI.ListFineTuneEvents('ft-abc123');
for i := 0 to oResponse.Data.Count - 1 do
  Memo1.Lines.Add(oResponse.Data[i].Message);

Back to Methods