GET
/
training
/
sft
/
{job_id}
/
messages
import PiClient from 'withpi';

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

async function main() {
  const response = await client.training.sft.streamMessages('job_id');

  console.log(response);
}

main();
"<string>"

Authorizations

x-api-key
string
header
required

Path Parameters

job_id
string
required

Response

200
text/plain
Streaming messages from the job

The response is of type string.