Skip to main content
POST
Create an alert

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The unique identifier of the project the alert is created in

Body

application/json
name
string
required
Minimum string length: 1
frequency
enum<string>
required
Available options:
HOURLY,
DAILY,
WEEKLY,
MONTHLY
thresholds
object
required
filters
object[]
required
projections
string[]
required
notification_details
object
required
description
string
minimum_sample_size
integer
default:0
alert_type
enum<string>
default:AGGREGATE
Available options:
DRIFT,
AGGREGATE,
PER_EVENT
aggregation
enum<string>
default:AVERAGE
Available options:
AVERAGE,
COUNT,
SUM,
MIN,
MAX,
P90,
P95,
P99,
MEDIAN
status
enum<string>
Available options:
ACTIVE,
TRIGGERED,
PAUSED,
RESOLVED

Response

Alert created successfully

The created alert

success
enum<boolean>
required
Available options:
true
data
object
required

Alert object