Ingest Telemetry
curl --request POST \
--url https://ingest.insightsecure.ai/v1/rasp/ingest \
--header 'Content-Type: application/json' \
--header 'X-InsightAI-Signature: <x-insightai-signature>' \
--data '
{
"tenant_id": "<string>",
"device_id": "<string>",
"session_id": "<string>",
"sdk_meta": {
"sdk_version": "<string>",
"platform": "<string>",
"batch_type": "<string>"
},
"scorer": {},
"signals": {}
}
'import requests
url = "https://ingest.insightsecure.ai/v1/rasp/ingest"
payload = {
"tenant_id": "<string>",
"device_id": "<string>",
"session_id": "<string>",
"sdk_meta": {
"sdk_version": "<string>",
"platform": "<string>",
"batch_type": "<string>"
},
"scorer": {},
"signals": {}
}
headers = {
"X-InsightAI-Signature": "<x-insightai-signature>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-InsightAI-Signature': '<x-insightai-signature>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
tenant_id: '<string>',
device_id: '<string>',
session_id: '<string>',
sdk_meta: {sdk_version: '<string>', platform: '<string>', batch_type: '<string>'},
scorer: {},
signals: {}
})
};
fetch('https://ingest.insightsecure.ai/v1/rasp/ingest', 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://ingest.insightsecure.ai/v1/rasp/ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tenant_id' => '<string>',
'device_id' => '<string>',
'session_id' => '<string>',
'sdk_meta' => [
'sdk_version' => '<string>',
'platform' => '<string>',
'batch_type' => '<string>'
],
'scorer' => [
],
'signals' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-InsightAI-Signature: <x-insightai-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ingest.insightsecure.ai/v1/rasp/ingest"
payload := strings.NewReader("{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-InsightAI-Signature", "<x-insightai-signature>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ingest.insightsecure.ai/v1/rasp/ingest")
.header("X-InsightAI-Signature", "<x-insightai-signature>")
.header("Content-Type", "application/json")
.body("{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ingest.insightsecure.ai/v1/rasp/ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-InsightAI-Signature"] = '<x-insightai-signature>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"rasp_score": 123,
"rasp_action": "<string>"
}Device Intelligence APIs
Ingest Telemetry
Submit RASP telemetry from the SDK — used internally by the SDKs, documented here for server-side or custom integrations.
POST
/
v1
/
rasp
/
ingest
Ingest Telemetry
curl --request POST \
--url https://ingest.insightsecure.ai/v1/rasp/ingest \
--header 'Content-Type: application/json' \
--header 'X-InsightAI-Signature: <x-insightai-signature>' \
--data '
{
"tenant_id": "<string>",
"device_id": "<string>",
"session_id": "<string>",
"sdk_meta": {
"sdk_version": "<string>",
"platform": "<string>",
"batch_type": "<string>"
},
"scorer": {},
"signals": {}
}
'import requests
url = "https://ingest.insightsecure.ai/v1/rasp/ingest"
payload = {
"tenant_id": "<string>",
"device_id": "<string>",
"session_id": "<string>",
"sdk_meta": {
"sdk_version": "<string>",
"platform": "<string>",
"batch_type": "<string>"
},
"scorer": {},
"signals": {}
}
headers = {
"X-InsightAI-Signature": "<x-insightai-signature>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-InsightAI-Signature': '<x-insightai-signature>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
tenant_id: '<string>',
device_id: '<string>',
session_id: '<string>',
sdk_meta: {sdk_version: '<string>', platform: '<string>', batch_type: '<string>'},
scorer: {},
signals: {}
})
};
fetch('https://ingest.insightsecure.ai/v1/rasp/ingest', 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://ingest.insightsecure.ai/v1/rasp/ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tenant_id' => '<string>',
'device_id' => '<string>',
'session_id' => '<string>',
'sdk_meta' => [
'sdk_version' => '<string>',
'platform' => '<string>',
'batch_type' => '<string>'
],
'scorer' => [
],
'signals' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-InsightAI-Signature: <x-insightai-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ingest.insightsecure.ai/v1/rasp/ingest"
payload := strings.NewReader("{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-InsightAI-Signature", "<x-insightai-signature>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ingest.insightsecure.ai/v1/rasp/ingest")
.header("X-InsightAI-Signature", "<x-insightai-signature>")
.header("Content-Type", "application/json")
.body("{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ingest.insightsecure.ai/v1/rasp/ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-InsightAI-Signature"] = '<x-insightai-signature>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tenant_id\": \"<string>\",\n \"device_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"sdk_meta\": {\n \"sdk_version\": \"<string>\",\n \"platform\": \"<string>\",\n \"batch_type\": \"<string>\"\n },\n \"scorer\": {},\n \"signals\": {}\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"rasp_score": 123,
"rasp_action": "<string>"
}This is the endpoint the Android, iOS, and Flutter SDKs call automatically. Most integrations never call this directly — document it here for server-side integrations building against the SDK’s data model without using the SDK itself.
Every request must be HMAC-signed — see Authentication. Unsigned or incorrectly signed requests are rejected before any processing.
Headers
string
required
Base64-encoded HMAC-SHA256 of the raw request body, signed with your tenant’s private HMAC secret.
Body
string
required
Your tenant slug.
string
required
Persisted, install-scoped device identifier.
string
required
Fresh per app launch.
object
required
object
required
The client-computed
rasp_score/rasp_action/rasp_flags — treated as advisory; InsightAI re-scores server-side from signals for the authoritative decision. See Beyond RASP — securing the pipeline for why.object
required
Nested by detection category (
root, emulator, debugger, tamper, ecosystem, network) — see RASP detection categories for what each contains.Response
string
acceptedinteger
Server-recomputed score (0–100).
string
Server-recomputed action — this, not the client-submitted one, is authoritative.
Example response
{
"status": "accepted",
"rasp_score": 45,
"rasp_action": "REVIEW"
}
⌘I
