v3
latestOpenAPI 3.0.12026-07-31240345599.7 KBAlerts
Create alert
The endpoint allows users to programmatically generate alerts with customized parameters. It integrates with existing systems to transform raw data into actionable alerts, ensuring timely notifications for incident management.
post/api/{cloudId}/v1/alerts
Request body
Example request
{
"message": "The CPU usage on Server XYZ has exceeded 80% for over 5 minutes.",
"responders": [
{
"id": "4513b7ea-3b91-438f-b7e4-e3e54af9147c",
"type": "team"
},
{
"id": "bb4d9938-c3c2-455d-aaab-727aa701c0d8",
"type": "user"
},
{
"id": "aee8a0de-c80f-4515-a232-501c0bc9d715",
"type": "escalation"
},
{
"id": "80564037-1984-4f38-b98e-8a1f662df552",
"type": "schedule"
}
],
"visibleTo": [
{
"id": "4513b7ea-3b91-438f-b7e4-e3e54af9147c",
"type": "team"
},
{
"id": "bb4d9938-c3c2-455d-aaab-727aa701c0d8",
"type": "user"
}
],
"note": "This server has experienced high CPU usage multiple times in the past week. A server upgrade has been recommended to prevent future occurrences.",
"alias": "DatabaseConnectionFailure_DatabaseServer1",
"entity": "DatabaseServer1",
"source": "DBMonitoringTool",
"tags": [
"OverwriteQuietHours",
"Critical"
],
"actions": [
"RestartServer"
],
"description": "The alert is triggered due to the high CPU usage on Server XYZ. The CPU usage has consistently been above 80% for more than 5 minutes which could potentially lead to server slowdown or even a crash. Suggested action is to investigate the processes consuming high CPU and optimize or terminate them as needed. If the issue persists, consider upgrading the server resources.",
"extraProperties": {
"backend": false,
"browser": "Firefox 113.0",
"browser.name": "Firefox",
"bundler": "parcel@2.10.3",
"environment": "production"
}
}Response
Returned if the request is successful.
Example response
{
"result": "Request will be processed",
"requestId": "d383c6e9-b1e7-4b59-9c35-72f1a2187777"
}