Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the alert |
| testId | string | The test to monitor for failures |
| channel | string | Notification channel |
| configuration | object | Channel-specific configuration such as webhook URLs or email addresses |
| enabled | boolean | Whether the alert is currently active |
| createdAt | string | Timestamp when the alert was created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Alert",
"title": "Alert",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the alert"
},
"testId": {
"type": "string",
"description": "The test to monitor for failures"
},
"channel": {
"type": "string",
"enum": [
"email",
"slack",
"pagerduty",
"twilio"
],
"description": "Notification channel"
},
"configuration": {
"type": "object",
"additionalProperties": true,
"description": "Channel-specific configuration such as webhook URLs or email addresses"
},
"enabled": {
"type": "boolean",
"description": "Whether the alert is currently active"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the alert was created"
}
}
}