v3
OpenAPI 3.1.02026-07-31350397683.8 KBCreate Alert
Create a new alert with optional agent associations
Headers
API key required to authenticate requests.
Request body
Name of the alert
Description of the alert
Whether the alert is enabled
Enum representing the entity types for alerts.
The specific field/metric being monitored
Enum representing the comparison operators for alerts.
Value to compare against
Whether the alert applies to all agents
Agent IDs to associate with this alert (only used when applies_to_all_agents=False)
Optional experiments.id (simulation) to scope simulation alerts to. NULL means agent-scoped across all simulations.
How this alert is evaluated. Only 'per_simulation_run' is supported.
Aggregation mode used to compute the per-run metric value from test results within the run.
For observability source_scope: time window in seconds (default 600 if omitted). For simulation source_scope: K = number of recent completed runs (default 1 if omitted).
Minimum number of events for the alert. Only meaningful for observability/all source_scope (default 10 if omitted). Forced to NULL for simulation source_scope.
Whether min_events is an absolute count or a percentage of total events.
Allowed data source scope for when an alert fires: all, observability only, or simulation only.
Response
Successful Response
Unique identifier for the alert
Name of the alert
Description of the alert
Whether the alert is enabled
Organization ID
Enum representing the entity types for alerts.
The specific field/metric being monitored
Enum representing the comparison operators for alerts.
Value to compare against
When the alert was last triggered
Number of times triggered
User who created the alert
Whether the alert applies to all agents
Associated agent IDs
Optional experiments.id (simulation) this alert is scoped to
How this alert is evaluated. Only 'per_simulation_run' is supported.
Aggregation mode used to compute the per-run metric value from test results within the run.
When the alert was created
When the alert was last updated
User who last updated the alert
For observability source_scope: time window in seconds. For simulation source_scope: K = number of recent completed runs.
The minimum number of events for the alert. NULL for simulation alerts.
Whether min_events is an absolute count or a percentage
Whether the alert is in alert
Which data source fires this alert: 'all', 'observability', or 'simulation'
Name of the simulation (experiment) this alert is scoped to, if any