Update Org-Scoped Alert
Partially update an org-scoped alert (e.g. enable/disable, channels).
Path parameters
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"
}Changes
Changed in 2 of the 33 revisions of this API.34
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
dlq_growthenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
provider_quota_exhaustedenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
task_queue_degradedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
dlq_growthenum value to the request property//request-property-enum-value-added
- ○
added the new
provider_quota_exhaustedenum value to the request property//request-property-enum-value-added
- ○
added the new
task_queue_degradedenum value to the request property//request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●