Get batch run status and progress.
Python
import requests url = "https://www.datalab.to/api/v1/eval_batch_runs/{run_id}" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "id": 123, "collection_id": 123, "eval_rubric_id": 123, "pipeline_id": "<string>", "pipeline_type": "<string>", "status": "<string>", "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "total_files": 123, "completed_files": 123, "avg_score": 123, "created": "2023-11-07T05:31:56Z" }
Successful Response
Was this page helpful?