API Reference · Alerting · Alert processors
Update alert processor
Mutation
updateAlertProcessorReplaces the configuration of an alert processor. Its name stays unchanged.
updateAlertProcessor(
organizationId: ID!
alertProcessorId: ID!
processorSpec: AlertProcessorSpec!
): AlertProcessor!Arguments
Field
Type
Returns
Field
Type
Example
mutation UpdateAlertProcessor($organizationId: ID!, $alertProcessorId: ID!, $processorSpec: AlertProcessorSpec!) {
updateAlertProcessor(organizationId: $organizationId, alertProcessorId: $alertProcessorId, processorSpec: $processorSpec) {
id
name
isDefault
createdAt
updatedAt
configuration {
autoCreateIncidents
correlatorType
}
statistics {
totalAlertsProcessed
lastAlertProcessedAt
}
}
}Example response
{
"data": {
"updateAlertProcessor": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"name": "Example name",
"isDefault": true,
"createdAt": "2026-01-01T12:00:00Z",
"updatedAt": "2026-01-01T12:00:00Z",
"configuration": {
"autoCreateIncidents": true,
"correlatorType": "STATISTICAL"
},
"statistics": {
"totalAlertsProcessed": 1,
"lastAlertProcessedAt": "2026-01-01T12:00:00Z"
}
}
}
}