curl --request POST \
--url https://api.bland.ai/v1/alarms/{id}/trigger \
--header 'authorization: <authorization>'{
"data": {
"success": true,
"message": "Test completed successfully. Current alarm state: NORMAL",
"currentMetrics": {
"value": 0.2,
"sampleCount": 22,
"deviation": null,
"threshold": 2.5
}
},
"errors": null
}
Manually trigger alarm evaluation with current data.
curl --request POST \
--url https://api.bland.ai/v1/alarms/{id}/trigger \
--header 'authorization: <authorization>'{
"data": {
"success": true,
"message": "Test completed successfully. Current alarm state: NORMAL",
"currentMetrics": {
"value": 0.2,
"sampleCount": 22,
"deviation": null,
"threshold": 2.5
}
},
"errors": null
}
{
"data": {
"success": true,
"message": "Test completed successfully. Current alarm state: NORMAL",
"currentMetrics": {
"value": 0.2,
"sampleCount": 22,
"deviation": null,
"threshold": 2.5
}
},
"errors": null
}
Was this page helpful?