GET
/
v4
/
fine-tuning-jobs
/
{fine_tuning_job_id}
/
events
import SGPClient from 'sgp';

const client = new SGPClient({
  apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});

// Automatically fetches more pages as needed.
for await (const fineTuningJobEvent of client.fineTuningJobs.events.list('fine_tuning_job_id')) {
  console.log(fineTuningJobEvent.level);
}
[
  {
    "timestamp": 123,
    "message": "<string>",
    "level": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

fine_tuning_job_id
string
required

Response

200
application/json

Successful Response

The response is of type FineTuningJobEvent · object[].