Get AISPM Dashboard summary info
curl --request GET \
--url https://{instance}.flintai.dev/api/v1/aispm-dashboard \
--header 'Authorization: <api-key>'import requests
url = "https://{instance}.flintai.dev/api/v1/aispm-dashboard"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{instance}.flintai.dev/api/v1/aispm-dashboard', 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://{instance}.flintai.dev/api/v1/aispm-dashboard",
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: <api-key>"
],
]);
$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://{instance}.flintai.dev/api/v1/aispm-dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}.flintai.dev/api/v1/aispm-dashboard")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}.flintai.dev/api/v1/aispm-dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"aispm_objects_counts": [
{
"critical_issues_count": 123,
"high_issues_count": 123,
"object_type": "<string>",
"total_inventory_count": 123,
"total_issues_count": 123
}
],
"aispm_objects_top_issues": [
{
"critical_element_count": 123,
"definitive_severity": "<string>",
"high_element_count": 123,
"issue_id": "<string>",
"rule_description": "<string>",
"rule_id": "<string>",
"rule_name": "<string>",
"total_priority_affected_elements": 123
}
],
"aispm_top_at_risk_agents": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"aispm_top_at_risk_mcp_servers": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"aispm_top_at_risk_models": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"issues_histogram": {
"counts": [
{
"critical": 123,
"high": 123,
"other": 123
}
]
},
"scans_counts": {
"percent_scans_with_ai_objects": 123,
"scans_with_ai_objects_count": 123,
"total_current_aispm_scans": 123
}
}{
"code": 400,
"message": "Invalid request"
}{
"code": 400,
"message": "Invalid request"
}aispm-dashboard
Get AISPM Dashboard summary info
Get summary data from AISPM Dashboard
GET
/
aispm-dashboard
Get AISPM Dashboard summary info
curl --request GET \
--url https://{instance}.flintai.dev/api/v1/aispm-dashboard \
--header 'Authorization: <api-key>'import requests
url = "https://{instance}.flintai.dev/api/v1/aispm-dashboard"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{instance}.flintai.dev/api/v1/aispm-dashboard', 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://{instance}.flintai.dev/api/v1/aispm-dashboard",
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: <api-key>"
],
]);
$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://{instance}.flintai.dev/api/v1/aispm-dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}.flintai.dev/api/v1/aispm-dashboard")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}.flintai.dev/api/v1/aispm-dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"aispm_objects_counts": [
{
"critical_issues_count": 123,
"high_issues_count": 123,
"object_type": "<string>",
"total_inventory_count": 123,
"total_issues_count": 123
}
],
"aispm_objects_top_issues": [
{
"critical_element_count": 123,
"definitive_severity": "<string>",
"high_element_count": 123,
"issue_id": "<string>",
"rule_description": "<string>",
"rule_id": "<string>",
"rule_name": "<string>",
"total_priority_affected_elements": 123
}
],
"aispm_top_at_risk_agents": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"aispm_top_at_risk_mcp_servers": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"aispm_top_at_risk_models": [
{
"aispm_friendly_name": "<string>",
"aispm_object_id": "<string>",
"critical_count": 123,
"high_count": 123,
"total_critical_high_occurrences": 123
}
],
"issues_histogram": {
"counts": [
{
"critical": 123,
"high": 123,
"other": 123
}
]
},
"scans_counts": {
"percent_scans_with_ai_objects": 123,
"scans_with_ai_objects_count": 123,
"total_current_aispm_scans": 123
}
}{
"code": 400,
"message": "Invalid request"
}{
"code": 400,
"message": "Invalid request"
}Authorizations
Use this header with a Bearer token to authenticate requests.
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I