Skip to main content
GET
Get metric baseline

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

metric_id
string
required

22-character metric ID

Pattern: ^[a-zA-Z0-9]{22}$
baseline_id
string
required

26-character baseline ULID.

Required string length: 26

Query Parameters

sigma_levels
integer[]

Comma-separated sigma multipliers used to populate sigma_bands in each baseline (e.g. 1,2,3).

Response

Baseline retrieved successfully

Anomaly-detection baseline for a metric.

ulid
string
required

Baseline ULID.

Example:

"01HXKZ4M5N6P7Q8R9STVWXYZAB"

status
enum<string>
required

Baseline lifecycle status.

Available options:
ACTIVE,
STANDBY,
ARCHIVED
detection_method
enum<string>
required

Anomaly detection algorithm. Currently only EWMA.

Available options:
EWMA
sigma_threshold
number
required

Sigmas from the baseline that constitute an anomaly.

direction
enum<string>
required

Which direction(s) of deviation count as anomalous.

Available options:
BOTH,
ABOVE,
BELOW
created_at
string<date-time>
required
last_updated_at
string<date-time>
required
metric_id
string | null

Metric ULID.

agent_id
string | null

Agent ID. Null for org-wide baselines.

test_set_id
string | null

Test set ULID. Null for monitoring.

persona_id
string | null

Persona ULID. Null when the baseline covers all personas.

display_name
string | null

User-facing label.

baseline_float
number | null

Current baseline mean estimate.

baseline_sigma
number | null

Current baseline standard deviation estimate.

observation_count
integer
default:0

Number of observations processed.

sigma_bands
object | null

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.

last_processed_run_completed_at
string<date-time> | null

Cursor: when the last processed run completed.