v5
OpenAPI 3.1.02026-08-025631,1012.8 MBAlerts
Update Alert
Partially update an alert's configuration.
**All fields are optional** - provide only what you want to update.
Unlike taxonomies, alerts can be fully updated including:
- `name`: Rename the alert
- `description`: Update documentation
- `retriever_id`: Change the retriever
- `notification_config`: Update notification channels
- `enabled`: Enable/disable the alert
- `metadata`: Update custom metadata
patch/v1/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"
}