List Evaluation Jobs#

To list all evaluation jobs, send a GET request to the jobs endpoint, as shown in the following code. After you submit the request, a list of all the evaluation jobs is returned, with details for each job. To filter the jobs that the API returns, refer to Filter Jobs.

To List Evaluation Jobs#

Choose one of the following options to list evaluation jobs.

import os
from nemo_microservices import NeMoMicroservices

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

# List all evaluation jobs
jobs = client.evaluation.jobs.list()

# Iterate through the jobs
for job in jobs:
    print(f"Job ID: {job.id}")
    print(f"Status: {job.status}")
    print(f"Created: {job.created_at}")
    print("---")
curl -X "GET" "${EVALUATOR_BASE_URL}/evaluation/jobs" \
  -H 'accept: application/json'