Delete Evaluation Job#

To delete an evaluation job, send a DELETE request to the jobs endpoint. You must provide the ID of the job as shown in the following code.

To Delete an Evaluation Job#

Choose one of the following options to delete an evaluation job.

import os
from nemo_microservices import NeMoMicroservices

# Initialize the client
client = NeMoMicroservices(
    base_url=os.environ['EVALUATOR_BASE_URL']
)

# Delete an evaluation job
client.evaluation.jobs.delete("job-id")
print("Job deleted successfully")
curl -X "DELETE" "${EVALUATOR_BASE_URL}/evaluation/jobs/<job-id>" \
  -H 'accept: application/json'