Create Baseline
POST /v1/baseline
Create or update a healthy baseline for a specific machine. This computes energy statistics from the provided time series and fine-tunes a per-machine predictor (~462K params, approximately 10-15 seconds on CPU).
Unique machine identifier within your organization.
Array of healthy operating data points, each with
timestamp (ISO 8601) and value (number). Minimum 100 points. Do not include known anomalies.Data frequency hint for model selection.
Human-readable label for the baseline (e.g., “Normal operating conditions, January 2024”).
The machine identifier.
Baseline identifier (format:
bl_ + machine_id).ISO 8601 creation timestamp.
Baseline energy statistics.
energy_mean(number): Mean energy during healthy operation.energy_std(number): Standard deviation of healthy energy.energy_p99(number): 99th percentile of healthy energy.num_windows(integer): Number of sliding windows computed.series_length(integer): Length of the input series.
Fine-tuning results.
status(string):completedorskipped.final_loss(number): Best predictor loss achieved.epochs_run(integer): Actual epochs trained.epochs_max(integer): Maximum allowed epochs.early_stopped(boolean): Whether early stopping triggered.windows(integer): Training windows used.duration_seconds(number): Fine-tuning wall time.
Baseline status (
active).Get Baseline
GET /v1/baseline?machine_id={machine_id}
Retrieve the current baseline for a machine. Returns the same response format as the create endpoint.