dashai_job_status
Check an enqueued job's status by its ID to see if it is queued, running, finished, or failed. Determine whether to keep waiting or stop polling after an error.
Instructions
Polls the status of an enqueued job (training, prediction, explanation).
dashAI's statuses: not_started (queued), started (running), finished
(done) and error (failed). Telling started from error matters: the
first is worth waiting on, the second does not improve by polling again.
Args: params (JobStatus): contains: - job_id (str): id returned when enqueuing
Returns: str: JSON {"job_id": str, "status": str, "finished": bool, "failed": bool, "raw": {...}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |