Get Config
curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/configimport requests
url = "https://api.your-blindsight.com/api/runtime-security/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/config', 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/config",
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/config"
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/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/config")
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{
"enabled": true,
"block_threshold": 0.55,
"redact_threshold": 0.35,
"max_text_length": 32000,
"log_events": true,
"pre_prompt": "<string>",
"pre_prompt_placement": "prepend",
"agentic": {
"tool_allowlist": [
"<string>"
],
"tool_denylist": [
"<string>"
],
"max_arg_bytes": 32000,
"allow_private_network": false
},
"dlp_fail_mode": "open",
"dlp_fail_mode_locked": false,
"dlp_host_rule_overrides": [
{}
],
"dlp_protect_unsanctioned": false,
"file_scanning_enabled": true,
"file_unredactable_action": "block",
"pseudonymize_enabled": false,
"pseudonymize_labels": {},
"pseudonymize_retention_days": 30
}runtime-security
Get Config
GET
/
api
/
runtime-security
/
config
Get Config
curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/configimport requests
url = "https://api.your-blindsight.com/api/runtime-security/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/config', 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/config",
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/config"
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/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/config")
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{
"enabled": true,
"block_threshold": 0.55,
"redact_threshold": 0.35,
"max_text_length": 32000,
"log_events": true,
"pre_prompt": "<string>",
"pre_prompt_placement": "prepend",
"agentic": {
"tool_allowlist": [
"<string>"
],
"tool_denylist": [
"<string>"
],
"max_arg_bytes": 32000,
"allow_private_network": false
},
"dlp_fail_mode": "open",
"dlp_fail_mode_locked": false,
"dlp_host_rule_overrides": [
{}
],
"dlp_protect_unsanctioned": false,
"file_scanning_enabled": true,
"file_unredactable_action": "block",
"pseudonymize_enabled": false,
"pseudonymize_labels": {},
"pseudonymize_retention_days": 30
}Response
200 - application/json
Successful Response
Required range:
0 <= x <= 1Required range:
0 <= x <= 1Required range:
256 <= x <= 200000Maximum string length:
20000Available options:
prepend, append, sandwich Show child attributes
Show child attributes
Available options:
open, closed Available options:
block, allow Show child attributes
Show child attributes
Required range:
1 <= x <= 365
