List Alarms
curl --request GET \
--url https://api.bland.ai/v1/alarms \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/alarms"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/alarms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/alarms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/alarms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/alarms")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/alarms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"alarms": [
{
"id": "b14f7f49-8af2-4d7b-9f51-e3b42b2f91c6",
"metric_type": "latency",
"enabled": true,
"threshold": 1,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-10T00:26:37.707Z",
"updated_at": "2026-03-10T00:26:37.707Z"
}
]
},
"errors": null
}
Alarms
List Alarms
List alarm configurations for your organization.
GET
/
v1
/
alarms
List Alarms
curl --request GET \
--url https://api.bland.ai/v1/alarms \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/alarms"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/alarms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/alarms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/alarms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/alarms")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/alarms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"alarms": [
{
"id": "b14f7f49-8af2-4d7b-9f51-e3b42b2f91c6",
"metric_type": "latency",
"enabled": true,
"threshold": 1,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-10T00:26:37.707Z",
"updated_at": "2026-03-10T00:26:37.707Z"
}
]
},
"errors": null
}
Headers
string
required
Your API key for authentication.
Query Parameters
string
Optional metric filter. Allowed values:
latency, api_errors, call_length.Response
array
Alarm configuration objects for your organization.
string
Alarm configuration ID.
string
Metric this alarm tracks. One of:
latency, api_errors, call_length.number
Trigger threshold for this metric.
boolean
Whether this alarm is enabled.
object|null
Webhook settings object, including
url and optional masked headers.string[]
Email recipients for notifications.
string[]
SMS recipients for notifications.
string
ISO timestamp for when the alarm was created.
string
ISO timestamp for when the alarm was last updated.
null|array
null on success, otherwise an array of error objects.{
"data": {
"alarms": [
{
"id": "b14f7f49-8af2-4d7b-9f51-e3b42b2f91c6",
"metric_type": "latency",
"enabled": true,
"threshold": 1,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-10T00:26:37.707Z",
"updated_at": "2026-03-10T00:26:37.707Z"
}
]
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I