Skip to main content

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).
string
required
Unique machine identifier within your organization.
array
required
Array of healthy operating data points, each with timestamp (ISO 8601) and value (number). Minimum 100 points. Do not include known anomalies.
string
default:"none"
Data frequency hint for model selection.
string
Human-readable label for the baseline (e.g., “Normal operating conditions, January 2024”).
string
The machine identifier.
string
Baseline identifier (format: bl_ + machine_id).
string
ISO 8601 creation timestamp.
object
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.
object
Fine-tuning results.
  • status (string): completed or skipped.
  • 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.
string
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.