Get Evaluation Job Details#

To get the full details of an evaluation job, send a GET request to the jobs endpoint, as shown in the following code.

The response includes comprehensive job information such as job status, timestamps, evaluation configuration, target details, result URNs, output file locations, and metadata like project associations and custom fields.

To Get Evaluation Job Details#

Choose one of the following options to get evaluation job details.

import os
from nemo_microservices import NeMoMicroservices

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

# Get job details
job = client.evaluation.jobs.retrieve("job-id")

# Get the status and other details
print(f"Job ID: {job.id}")
print(f"Job status: {job.status}")
print(f"Created at: {job.created_at}")
print(f"Updated at: {job.updated_at}")
curl -X "GET" "${EVALUATOR_BASE_URL}/v1/evaluation/jobs/<job-id>" \
  -H 'accept: application/json'
Example Response
{
    "created_at": "2025-03-19T22:50:15.684382",
    "updated_at": "2025-03-19T22:50:15.684385",
    "id": "eval-UVW123XYZ456",
    "namespace": "my-organization",
    "description": null,
    "target": {
        //target details
    },
    "config": {
        // config details
    },
    "result": "evaluation_result-1234ABCD5678EFGH",
    "output_files_url": "hf://datasets/evaluation-results/eval-UVW123XYZ456",
    "status_details": {
        "message": "Job completed successfully",
        "task_status": {},
        "progress": null
    },
    "status": "completed",
    "project": null,
    "custom_fields": {},
    "ownership": null
}