v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBAlerts
Update Org-Scoped Alert
Partially update an org-scoped alert (e.g. enable/disable, channels).
patch/v1/organizations/alerts/{alert_identifier}
Path parameters
alert_identifierstring required
Alert ID (alt_...) or name
Alert ID (alt_...) or name
Request body
Example request
{
"system_condition": {
"params": {
"stall_minutes": 30
}
},
"namespace_selector": {
"namespace_ids": [
"ns_production",
"ns_staging"
]
},
"notification_config": {
"channels": [
{
"channel_id": "wh_safety_team",
"channel_type": "webhook"
},
{
"channel_id": "sl_alerts",
"channel_type": "slack"
}
],
"include_matches": true,
"include_scores": true
}
}Response
Successful Response
Example response
{
"alert_id": "alt_safety_001",
"description": "Alerts when new videos match known safety incidents",
"enabled": true,
"name": "Safety Incident Detector",
"notification_config": {
"channels": [
{
"channel_id": "wh_safety_team",
"channel_type": "webhook"
}
],
"include_matches": true,
"include_scores": true
},
"retriever_id": "ret_safety_search"
}