DELETE
/
search
/
query_classifier
/
distill
/
{job_id}
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.search.queryClassifier.distill.cancel('job_id');

  console.log(response);
}

main();
"<string>"

Authorizations

x-api-key
string
header
required

Path Parameters

job_id
string
required

Response

200
application/json
Successful Response

The response is of type string.