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. |
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
}