tw.endpoints.anomaly_detection.status
tw.endpoints.anomaly_detection.status(id=str)
Retrieve the current status of a job.
GET ``/anomaly-detection/{id}``
Parameters
id: str
Job identifier
Returns
dict
Status response containing at least ``"status"` (e.g. ``"Open"``, ``"Finished"``, ``"Failed"``).
Example Usage
CODE
anomaly_detection_status_response = tw.endpoints.anomaly_detection.status(
id = job_id
)
Example Output
CODE
anomaly_detection_status_id = anomaly_detection_status_response['id']
anomaly_detection_status_status = anomaly_detection_status_response['status']
anomaly_detection_status_progress = anomaly_detection_status_response['progress']
anomaly_detection_status_log = anomaly_detection_status_response['log']