ReceiveVmalertAlerts
Receive authenticated packaged-vmalert notifications through the Alertmanager API-compatible notifier endpoint. The installer-managed X-Webhook-Secret is required and is shared only by zmetis and the two packaged vmalert instances.
/api/v2/alertsOperation ID
ReceiveVmalertAlertsSince
1.2.0Execution Mode
SynchronousAuth Context
Packaged vmalertAuth Context
X-Webhook-Secret must contain the installer-managed packaged-vmalert secret. The legacy Alertmanager webhook secret is separate.
X-Webhook-Secret{packaged_vmalert_secret}Request Inputs
application/jsonHeader Parameters
X-Webhook-SecretStringRequiredRequired installer-managed packaged-vmalert secret. Never pass it in the URL or request body.
Body Fields
vmalert posts a top-level Alertmanager protocol v2 alert array to /api/v2/alerts.
Request body root type: array
statusStringAlert status: firing or resolved
Example: firing
fingerprintStringUnique fingerprint for deduplication
Example: abc123def456
generatorURLStringURL to the alert source in the generator system
Example: http://prometheus:9090/graph?g0.expr=up
labelsLinkedHashMapKey-value labels attached to this resource
annotationsLinkedHashMapArbitrary key-value annotations for metadata
Responses
200 OKChange History
View all change historyChange Time
AddedRequest parameters X-Webhook-SecretView API
