Azure AI Anomaly Detector provides time-series analysis through REST APIs. Its inputs are numerical measurements associated with timestamps, such as hourly revenue, minute-level database throughput, or synchronized equipment sensor readings. It identifies statistical abnormalities rather than interpreting their business meaning. Applications must combine detection results with operational context before deciding whether an anomaly requires investigation or action.
Univariate detection analyzes one metric at a time and automatically selects a model for the submitted series without a separate training operation. The entire-series operation evaluates historical points using a model fitted to the supplied series. The latest-point operation evaluates the newest point using a supplied window of preceding observations, making it suitable for periodically evaluating incoming metrics. Each univariate request is independent: the service does not retain a running history, so the caller must maintain and submit the required context. A separate change-point operation identifies changes in the underlying trend.
Prepare univariate data at a consistent sampling interval before submitting it. Sort timestamps, resolve duplicates, and apply an explicit policy for missing observations. Aggregate values according to their meaning: sums may suit transaction counts, while averages may suit temperature measurements. Aggregation reduces noise and request volume but can hide short-lived incidents. Tune sensitivity, the maximum anomaly ratio, and any known seasonal period against representative historical events rather than assuming default settings fit every metric.
Multivariate detection learns relationships among multiple signals and can identify abnormal combinations even when individual measurements are not obvious outliers. It requires a training workflow and representative historical data. For the documented asynchronous workflow, prepare time-series files in a ZIP archive in Azure Blob Storage, provide a scoped shared access signature URI, submit training or detection requests, and poll for completion. Configure timestamp alignment and missing-value handling carefully. Training data should primarily represent normal operation; the documented guidance recommends approximately 5,000 or more timestamps per variable for good accuracy, rather than treating that recommendation as a universal hard minimum.
Detection output varies by operation. Univariate results can include anomaly flags, expected values, and normal boundaries, while multivariate results can include anomaly scores, severity, and contributing variables. Contributions help prioritize investigation but do not establish root cause. Univariate processing does not persist submitted data or generated results. The documented asynchronous multivariate workflow temporarily retains detection results for seven days, so copy results into your own storage when longer retention is required.
Production implementations should handle throttling, transient failures, request-size limits, and asynchronous job states. Keep credentials and storage access tokens out of logs, persist enough request metadata to reproduce investigations, and suppress duplicate notifications. Evaluate precision and recall using known incidents before enabling automated responses. Include human review where actions could affect physical safety, and do not use the service for medical decisions or qualitative assessment of human activity.