dashai_job_status
Check the status of an enqueued job (training, prediction, or explanation) to see if it is queued, running, finished, or failed, so you know whether to wait or address 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 |