List Devices
curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/agent/devicesimport requests
url = "https://api.your-blindsight.com/api/runtime-security/agent/devices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/agent/devices', 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.your-blindsight.com/api/runtime-security/agent/devices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.your-blindsight.com/api/runtime-security/agent/devices"
req, _ := http.NewRequest("GET", url, nil)
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.your-blindsight.com/api/runtime-security/agent/devices")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/agent/devices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"uuid": "<string>",
"hostname": "<string>",
"platform": "<string>",
"os_user": "<string>",
"os_version": "<string>",
"agent_version": "<string>",
"status": "<string>",
"user_id": 123,
"enrolled_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"revoked_at": "2023-11-07T05:31:56Z",
"user_email": "<string>",
"identity_status": "pending",
"protection_state": "<string>",
"protection_state_at": "2023-11-07T05:31:56Z",
"tamper_count": 0,
"last_tamper_at": "2023-11-07T05:31:56Z",
"last_tamper_kind": "<string>",
"agent_started_at": "2023-11-07T05:31:56Z",
"last_exit_at": "2023-11-07T05:31:56Z",
"last_exit_reason": "<string>",
"policy_revision": 123,
"effective_settings": {},
"effective_settings_at": "2023-11-07T05:31:56Z",
"install_kind": "<string>",
"last_active_at": "2023-11-07T05:31:56Z",
"reenrollment_allowed_at": "2023-11-07T05:31:56Z",
"reenrollment_allowed_by_email": "<string>",
"blocked_reenroll_at": "2023-11-07T05:31:56Z",
"blocked_reenroll_count": 0,
"paused": false,
"paused_at": "2023-11-07T05:31:56Z",
"paused_by_email": "<string>",
"online": false,
"protected": false
}
]runtime-security-agent
List Devices
GET
/
api
/
runtime-security
/
agent
/
devices
List Devices
curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/agent/devicesimport requests
url = "https://api.your-blindsight.com/api/runtime-security/agent/devices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/agent/devices', 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.your-blindsight.com/api/runtime-security/agent/devices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.your-blindsight.com/api/runtime-security/agent/devices"
req, _ := http.NewRequest("GET", url, nil)
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.your-blindsight.com/api/runtime-security/agent/devices")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/agent/devices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"uuid": "<string>",
"hostname": "<string>",
"platform": "<string>",
"os_user": "<string>",
"os_version": "<string>",
"agent_version": "<string>",
"status": "<string>",
"user_id": 123,
"enrolled_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"revoked_at": "2023-11-07T05:31:56Z",
"user_email": "<string>",
"identity_status": "pending",
"protection_state": "<string>",
"protection_state_at": "2023-11-07T05:31:56Z",
"tamper_count": 0,
"last_tamper_at": "2023-11-07T05:31:56Z",
"last_tamper_kind": "<string>",
"agent_started_at": "2023-11-07T05:31:56Z",
"last_exit_at": "2023-11-07T05:31:56Z",
"last_exit_reason": "<string>",
"policy_revision": 123,
"effective_settings": {},
"effective_settings_at": "2023-11-07T05:31:56Z",
"install_kind": "<string>",
"last_active_at": "2023-11-07T05:31:56Z",
"reenrollment_allowed_at": "2023-11-07T05:31:56Z",
"reenrollment_allowed_by_email": "<string>",
"blocked_reenroll_at": "2023-11-07T05:31:56Z",
"blocked_reenroll_count": 0,
"paused": false,
"paused_at": "2023-11-07T05:31:56Z",
"paused_by_email": "<string>",
"online": false,
"protected": false
}
]Response
200 - application/json
Successful Response

