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#

Evaluation Job Status Values#

Status

Description

CREATED

The job is created, but not yet scheduled.

PENDING

The job is waiting for resource allocation.

RUNNING

The job is currently running.

COMPLETED

The job has completed successfully.

CANCELLED

The job has been cancelled by the user.

FAILED

The job failed to run and terminated.


Options#

API#

curl -X "GET" "${EVALUATOR_SERVICE_URL}/v1/evaluation/jobs/<job-id>" \
  -H 'accept: application/json'
endpoint = f"{EVALUATOR_SERVICE_URL}/v1/evaluation/jobs/<job-id>"
response = requests.get(endpoint).json()

# Get the status.
job_status = response['status']
print(f"Job status: {job_status}")
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
}