set_alert_status
Set the status of an alert.
Input fields
sentera_id (
ID!)
Alert Sentera ID.
status (
AlertStatusType!)
Alert status.
Return fields
acknowledged_at (
ISO8601DateTime)
Date and time this alert was acknowledged.
created_at (
ISO8601DateTime!)
Date and time this alert was created.
created_by (
User!)
The user that created this alert.
details (
JSON)
Key value pairs to be used along with key data to generate language specific alert strings.
expires_at (
ISO8601DateTime!)
The date and time when the alert is set to expire.
key (
String)
A client-defined key. Can be used in combination with the details field to generate language specific alert strings.
message (
String!)
Message for this alert.
name (
String!)
Name for this alert.
sentera_id (
ID!)
A system-generated key identifying a specific instance of an alert.
status (
AlertStatusType!)
Status of this alert.
url (
Url)
A URL pointing at more information about the alert.
Examples
Set Alert Status
Sets the status of an alert.
Try this example in GraphiQLmutation SetAlertStatusExample {
set_alert_status(
sentera_id: "m5t2wx9_AL_SHORT1_CV_test_54364c66_190124_151245"
status: ACKNOWLEDGED
)
{
sentera_id
name
status
acknowledged_at
}
}
{
"data": {
"set_alert_status": {
"sentera_id": "m5t2wx9_AL_SHORT1_CV_test_54364c66_190124_151245",
"name": "Southern Corn Rust Alert",
"status": "ACKNOWLEDGED",
"acknowledged_at": "2026-03-24T17:11:37Z"
}
}
}