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
});

async function main() {
  // Automatically fetches more pages as needed.
  for await (const fineTuningJobEvent of client.fineTuningJobs.events.list('fine_tuning_job_id')) {
    console.log(fineTuningJobEvent.level);
  }
}

main();
[
  {
    "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
message
string
required
level
string
required
timestamp
number