Fetch Alerts
curl --request GET \
--url https://api.insightsecure.ai/v1/di/alerts \
--header 'Authorization: <authorization>'import requests
url = "https://api.insightsecure.ai/v1/di/alerts"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.insightsecure.ai/v1/di/alerts', 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.insightsecure.ai/v1/di/alerts",
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.insightsecure.ai/v1/di/alerts"
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.insightsecure.ai/v1/di/alerts")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.insightsecure.ai/v1/di/alerts")
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_bodyDevice Intelligence APIs
Fetch Alerts
List and filter Device Intelligence alerts
GET
/
v1
/
di
/
alerts
Fetch Alerts
curl --request GET \
--url https://api.insightsecure.ai/v1/di/alerts \
--header 'Authorization: <authorization>'import requests
url = "https://api.insightsecure.ai/v1/di/alerts"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.insightsecure.ai/v1/di/alerts', 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.insightsecure.ai/v1/di/alerts",
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.insightsecure.ai/v1/di/alerts"
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.insightsecure.ai/v1/di/alerts")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.insightsecure.ai/v1/di/alerts")
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_bodystring
required
Bearer {public_api_key} — see Authentication.Query parameters
string
Filter by disposition —
OPEN | REVIEWED | FALSE_POSITIVE | CONFIRMED.string
Filter by decision —
REVIEW | BLOCK.string
Filter to a single device.
string
ISO-8601 start of date range.
string
ISO-8601 end of date range.
integer
default:"50"
Max results per page.
Response
Returns a list of alert objects, each matching the shape delivered to your webhook — see the full Payload Reference for every field.Example response
{
"data": [
{
"alert_id": "ALRT-20251215-9103",
"decision": { "action": "BLOCK", "severity": "HIGH", "risk_score": 0.82 },
"entity": { "device": { "device_id": "d_4OwdmtpInKd9fW1fMBSAHN" } },
"flags": ["VPN_SUSPECTED", "HIGH_VELOCITY"],
"created_at": "2025-12-15T10:20:30.123Z"
}
],
"total": 1,
"limit": 50
}
⌘I
