Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

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

Body

application/json

CreateRequest creates a new alert configuration. create_request.webhook_incompatible_with_grouped_alerts // Webhook targets are not compatible with grouped alerts. Use the no_grouping strategy when sending alerts to webhook targets. create_request.webhook_incompatible_with_ongoing_alerts // Webhook targets are not compatible with ongoing alert strategies (stream or schedule). Use the disabled ongoing strategy when sending alerts to webhook targets.

trigger
EntityGroupQuery · object
required

Query that defines which entities can trigger this alert.

settings
issue · object
required

Additional settings for the specific alert type.

name
string

Human-readable name for the alert configuration.

Required string length: 1 - 255
fqn
string

User-provided fully qualified name for the alert config. This is a unique identifier that users can specify to reference the alert.

Required string length: 1 - 500
targets
(email · object | ms_teams · object | owner · object | slack · object | webhook · object)[]

Targets where alerts will be sent.

Minimum array length: 1

AlertingTarget represents a destination where alert notifications will be sent. Each target type has its own specific configuration requirements.

owner
Owner · object | null

Optional owner information for the alert configuration.

Response

200 - application/json

Success

CreateResponse returns the created alert configuration.

alert
Alert · object
required

The alert configuration that was created.