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.
Job Status Values#
Status |
Description |
---|---|
|
The job is created, but not yet scheduled. |
|
The job is waiting for resource allocation. |
|
The job is currently running. |
|
The job has completed successfully. |
|
The job has been cancelled by the user. |
|
The job failed to run and terminated. |
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}/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
}