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.Errors
| Error | Cause |
|---|---|
EntityNotFoundException | The job does not exist, or belongs to a different organization (the API returns 404 in both cases to avoid leaking cross-tenant existence). |