latestSwagger 2.02026-08-102194011.3 MB
602fc25ddd76
Alert Events V2
CreateHTTP Alert Events V2
Create an alert event using an HTTP source.
post/v2/alert_events/http/{alert_source_config_id}
Path parameters
alert_source_config_idstring required
Which alert source config produced this alert
Query parameters
tokenstring
Token used to authenticate the request, generated when configuring the alert source. Will be consumed via a URL query string parameter
Headers
authorizationstring
Whatever is provided in the Authorization header. We support either Basic or Bearer authorization with the secret provided on the alert source.
Request body
Example request
{
"deduplication_key": "4293868629",
"description": "We've detected a number of timeouts on hello.world.com, the service may be down. To fix...",
"metadata": {
"service": "hello.world.com",
"team": [
"my-team"
]
},
"source_url": "https://www.my-alerting-platform.com/alerts/my-alert-123",
"status": "firing",
"title": "*errors.withMessage: PG::Error failed to connect"
}Response
Accepted response.
Example response
{
"deduplication_key": "unique-key",
"message": "Event accepted for processing",
"status": "success"
}