import PiClient from'withpi';const client =newPiClient({apiKey: process.env['WITHPI_API_KEY'],// This is the default and can be omitted});asyncfunctionmain(){const response =await client.search.queryClassifier.distill.cancel('job_id');
console.log(response);}main();
import PiClient from'withpi';const client =newPiClient({apiKey: process.env['WITHPI_API_KEY'],// This is the default and can be omitted});asyncfunctionmain(){const response =await client.search.queryClassifier.distill.cancel('job_id');
console.log(response);}main();