Notification about completed alert

Versions
[2.11.1]

Describe the issue:
I am using opensearch as one of the resources for alerts in my monitoring system
is there a way to send a notification once alert is in completeted state?
or the only way is to qurey opensearch for the state of the alert?

You can use the get alerts API to check the state of the alert:

GET _plugins/_alerting/monitors/alerts