Create metric baseline
Create a new anomaly-detection baseline for a specific metric.
Authorizations
API key for authentication
Path Parameters
22-character metric ID
^[a-zA-Z0-9]{22}$Body
Request body for creating a baseline. All fields optional.
Agent ID. Null for org-wide baselines.
Test set ULID. Null for monitoring.
Persona ULID. Null when the baseline covers all personas.
User-facing label.
200Initial status. Defaults to STANDBY.
ACTIVE, STANDBY, ARCHIVED Algorithm. Defaults to EWMA.
EWMA Sigmas from the baseline that constitute an anomaly. Defaults to 2.0.
x > 0Which direction(s) of deviation count as anomalous. Defaults to BOTH.
BOTH, ABOVE, BELOW Algorithm-specific configuration. Currently only the EWMA detector is supported.
Response
Baseline created successfully
Anomaly-detection baseline for a metric.
Baseline ULID.
"01HXKZ4M5N6P7Q8R9STVWXYZAB"
Baseline lifecycle status.
ACTIVE, STANDBY, ARCHIVED Anomaly detection algorithm. Currently only EWMA.
EWMA Sigmas from the baseline that constitute an anomaly.
Which direction(s) of deviation count as anomalous.
BOTH, ABOVE, BELOW Metric ULID.
Agent ID. Null for org-wide baselines.
Test set ULID. Null for monitoring.
Persona ULID. Null when the baseline covers all personas.
User-facing label.
Current baseline mean estimate.
Current baseline standard deviation estimate.
Number of observations processed.
Computed sigma bands keyed by level (e.g. upper_1sigma, lower_2sigma,
upper_2sigma). Null when baseline stats are not yet populated. Levels
controlled by the sigma_levels query param.
Cursor: when the last processed run completed.