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.
Create link
Create a link for an existing alert rule within a Redox organization. You can specify the details for the link via API or the Redox dashboard (create a traffic alert rule in the dashboard).
This endpoint allows you to link one alert rule to one subscription at a time. However, you can create links to multiple subscriptions.
cURL request example
Path Parameters
- environmentIdrequired, string
Identifies the specific environment that you're operating in or on behalf of.
Request Body Schema
- assignmentrequired, object
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
- subscriptionrequired, object
- idnumber
Contains the unique identifier of subscription.
Contains the fields that you can populate to create a new alert link.
- 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
- alertLinkobject
Contains an alert link and its related details.
- 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.