evaluations.run() in endpoint-connection mode to check whether the inference batch is still running, has completed, or has been cancelled.
Usage
Parameters
The ID of the job to inspect. Returned as
jobId in the response from evaluations.run().Returns
AJobStatus object with the following fields:
The job ID.
Current state of the job. One of:
waiting, delayed, prioritized, waiting-children, active, completed, failed, cancelled.Progress indicator published by the worker. Typically a percentage (0–100) or a custom object. Defaults to
0.The job’s return value once it reaches
completed state. None while in progress.Error message if the job has reached
failed state. None otherwise.