POST
/
training
/
sft
/
{job_id}
/
download
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.download('job_id', { serving_id: 0 });

  console.log(response);
}

main();
"<string>"

Authorizations

x-api-key
string
header
required

Path Parameters

job_id
string
required

Query Parameters

serving_id
integer
required

Response

200
application/json
Successful Response

The response is of type string.