Create an alert

Create an alert.

Authentication

AuthorizationBearer

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

Path parameters

organizationIdstringRequired
The ID of the Organization to which the alert will belong to.

Request

This endpoint expects an object.
Create Dag Duration Alert RequestobjectRequired
OR
Create Dag Failure Alert RequestobjectRequired
OR
Create Dag Success Alert RequestobjectRequired
OR
Create Dag Timeliness Alert RequestobjectRequired
OR
Create Task Duration Alert RequestobjectRequired
OR
Create Task Failure Alert RequestobjectRequired

Response

OK
createdAtdatetime

The time when the alert was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

createdByobject
entityIdstring
The ID of the entity the alert is associated with.
entityType"DEPLOYMENT"
The type of entity the alert is associated with.
idstring
The alert's ID.
namestring
The alert's name.
organizationIdstring
The ID of the organization the alert is associated with.
rulesobject
severityenum
The alert's severity.
typeenum
The alert's type.
updatedAtdatetime

The time when the alert was last updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

updatedByobject
deploymentIdstring
The ID of the deployment the alert is associated with.
entityNamestring
The name of the entity the alert is associated with.
notificationChannelslist of objects
The notification channels to send alerts to.
workspaceIdstring
The ID of the workspace the alert is associated with.

Errors

400
Create Alert Body Bad Request Error
401
Create Alert Body Unauthorized Error
403
Create Alert Body Forbidden Error
404
Create Alert Body Not Found Error
500
Create Alert Body Internal Server Error