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