Alert endpoints allow you to review or manage traffic alert rules, which monitor your integrations for healthy traffic. Learn about alerts.
There are two types of traffic alert rules: No Traffic or Error Threshold.
You can retrieve an alert rule, as well as create, update, or delete it. Alternatively, you can retrieve a list of alert rules. An alert rule response contains details about any related subscription links.
You can also retrieve a subscription link for an alert rule, as well as create, pause, or delete it.
Get alerts
Retrieve a list of existing traffic alert rules for a specific environment within a Redox organization. You can only retrieve a list of alerts for one environment per query.
cURL request example
Path Parameters
- environmentIdrequired, string
Identifies the specific environment that you're operating in or on behalf of.
- metaobject
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- payloadobject
- alertsArray of object
- idstring
Displays the unique identifier of the link for a given alert.
Format: uuid - namestring
Displays the name of the alert.
- environmentobject
Contains metadata about the environment within the associated Redox organization.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- organizationobject
Contains metadata about the Redox organization.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- alertTypeobject
Specifies the type of alert.
- codestring
Describes the alert type.
Possible Values:no-traffic
,error-threshold
- alertConfiguration
Contains the alert configuration fields for the specified type of traffic alert rule.
- alertLookbackISODurationstring
Specifies the ISO duration or time range that the traffic alert rule should evaluate for the trigger condition. For example, whether the condition is met in the most recent 2 hours.
Defines the conditions of a No Traffic alert rule, which monitors a subscription for no completed traffic during a designated time frame.
- notificationobject
Contains the notification configuration fields for the specified type of traffic alert rule.
- idstring
Displays the unique identifier of this notification configuration.
Format: uuid - typeobject
Specifies the type of alert.
- codestring
Describes the alert type.
Possible Values:no-traffic
,error-threshold
- configurationobject
Contains the configuration field for the traffic alert rule.
- toArray of string
Defines the list of email addresses that a notification is sent to whenever the traffic alert rule is either triggered or resolved. At least one email must be listed.
- ignoreDaysOfWeekArray of string
Designates the weekend days of the week that your organization won't receive notifications for this alert if triggered.
Possible Values:SATURDAY
,SUNDAY
- ignoreHolidaysboolean
Indicates whether your organization will receive notifications for this alert on holidays, as specified by Redox.
- timeZonenullable, string
Indicates the time zone that will be used for ignored days. Redox doesn't send alert notifications on ignored days. Set to
null
if you want to use the default time zone, which is the time zone designated by your connection's organization settings. If not designated, U.S. Central time will be the default instead.Possible Values:America/Adak
,America/Anchorage
,America/Chicago
,America/Denver
,America/Edmonton
,America/Halifax
,America/Los_Angeles
,America/New_York
,America/Phoenix
,America/Regina
,America/St_Johns
,America/Toronto
,America/Vancouver
,America/Winnipeg
,Pacific/Honolulu
,UTC
- alertLinksArray of object
Contains any links related to this alert.
- idstring
Displays the unique identifier of the link for a specified alert.
Format: uuid - assignmentobject
Specifies the alert this link is assigned to.
- idstring
Contains the unique identifier of the alert.
- kindstring
Identifies what kind of link is assigned.
Value:alert
- subscriptionobject
Identifies the subscription that the alert is linked to.
- idnumber
Contains the unique identifier of subscription.
- dataModelstring
Identifies the Redox data model that the link applies to.
- sourceobject
Specifies the source of the subscription that the alert is linked to.
- idstring
Contains the unique identifier of the source.
- namenullable, string
Displays the human-readable name of the source.
- destinationobject
Specifies the destination of the subscription that the alert is linked to.
- idstring
Contains the unique identifier of the destination.
- namenullable, string
Displays the human-readable name of the destination.
- serviceRegionstring
Identifies the region that the subscription is operating in.
Possible Values:AWS_USA_EAST_1
,AWS_CAN_CENTRAL
,GCP_USA_CENTRAL_1
- connectingOrganizationobject
Specifies the organization the asset is connected to when the subscription relates to a partner organization.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- latestStatusobject
Contains the code and timestamp for the current status of the alert for this link.
- codestring
Describes the current status of the alert.
Possible Values:triggered
,okay
,paused
,unknown
- timestampstring
Contains date and time for the current status update.
- environmentobject
Contains metadata about the environment within the associated Redox organization.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- emailnullable, string
Displays the user's email address.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- emailnullable, string
Displays the user's email address.
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- emailnullable, string
Displays the user's email address.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- emailnullable, string
Displays the user's email address.