The Alerts category contains endpoints to review or manage traffic alert rules, which monitor your integrations for healthy traffic. There are two types of traffic alert rules: No Traffic or Error Threshold.
You can retrieve a specific alert or a list of existing traffic alert rules or a specific alert rule, as well as create, update, or delete a traffic alert rule.
Get alert by id
This query allows you to retrieve one specific traffic alert rule based on the unique alert identifier. This may be helpful if you want to review an alert before updating or deleting it.
Path Parameters
- organizationIdrequired, string
Displays the unique identifier of the Redox dashboard organization where the traffic alert rule is applied.
- environmentrequired, string
Identifies the specific environment that the traffic alert rule is operating in.
- alertIdrequired, string
Displays the unique identifier of the traffic alert rule. This identifier can't be modified once the alert is created.
cURL request example
Example payload generated from schema
- 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
- alertobject
Contains the details about the traffic alert rule.
- idstring
Displays the unique identifier of the new traffic alert rule.
Format: uuid - namestring
Displays the assigned name of the traffic alert rule.
- connectingOrgobject
Contains the details about the Redox dashboard organization associated with this log.
- idinteger
Displays the unique identifier of the dashboard organization.
- namestring
Displays the name of the dashboard organization.
- dataFlowobject
Contains the details about the data flow that the traffic alert rule applies to.
- idnumber
Displays the identifier of the specified data flow in the Redox dashboard organization.
- sourceobject
Contains the details about the system that initiates the data exchange in the data flow.
- idstring
Displays the unique identifier of the system that initiates the data exchange in the data flow.
Format: uuid - namestring
Displays the name of the system that initiates the data exchange in the data flow.
- destinationobject
Contains the details about the intended endpoint of the data flow.
- idstring
Displays the unique identifier of the endpoint system in the data flow.
Format: uuid - namestring
Displays the name of the endpoint system in the data flow.
- dataModelstring
Identifies the data model being used to exchange data between systems.
- alertTypeobject
- codestring
Displays one of two possible values that specify the type of traffic that the alert monitors, whether completed or failed traffic.
Possible Values:no-traffic
,error-threshold
- alertConfiguration
Contains the required 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 data flow for no completed traffic during a designated time frame.
- latestStatusobject
Contains the details of the most recent status of the traffic alert rule.
- codestring
Displays the most recent status of the traffic alert rule. The unknown status is often assigned if the alert is new or recently unpaused.
Possible Values:triggered
,okay
,paused
,unknown
- timestampstring
Displays the date and time of the latest alert in ISO 8601 format.
- notificationobject
- idstring
Displays the unique identifier of this notification configuration.
Format: uuid - typestring
Defines the type of notification that's sent when a traffic alert rule is triggered. Currently, we only support email notifications.
Value:email
- configurationobject
- 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.
- creatingUserobject
Identifies the user that created the traffic alert rule.
- idnumber
Displays the unique identifier of the user that created the traffic alert rule.
- namestring
Displays the name of the user that created the traffic alert rule.
- emailstring
Displays the contact information, specifically the email address, of the user that created the traffic alert rule.