A completed problem map
curl --request GET \
--url https://api.neoagent.io/public-api/insights/problems/result \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.neoagent.io/public-api/insights/problems/result"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.neoagent.io/public-api/insights/problems/result', 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.neoagent.io/public-api/insights/problems/result",
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: Bearer <token>"
],
]);
$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.neoagent.io/public-api/insights/problems/result"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.neoagent.io/public-api/insights/problems/result")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neoagent.io/public-api/insights/problems/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"analysis_id": 123,
"completed_at": "<string>",
"excluded_psa_company_ids": [
"<string>"
],
"map": {
"analysis_company_id": "<string>",
"analysis_company_name": "<string>",
"analysis_months": [
"<string>"
],
"clustered_share_pct": 123,
"excluded_company_ids": [
"<string>"
],
"excluded_company_names": [
"<string>"
],
"hours_coverage_pct": 123,
"hours_logged_per_month": 123,
"long_tail_neo_share_pct": 123,
"long_tail_neo_touched_pct": 123,
"long_tail_share_pct": 123,
"median_hours_per_ticket": 123,
"msp_name": "<string>",
"neo_share_before_pct": 123,
"neo_share_by_month": [
{
"month": "<string>",
"resolved_pct": 123,
"tickets": 123,
"touched_pct": 123
}
],
"neo_share_pct": 123,
"neo_share_recent_pct": 123,
"neo_touched_before_pct": 123,
"neo_touched_pct": 123,
"neo_touched_recent_pct": 123,
"population_tickets": 123,
"problems": [
{
"category": "Password Resets",
"connect_integrations": [
{
"id": "<string>",
"name": "<string>"
}
],
"estimate_basis": "PROBLEM_MEDIAN",
"estimated_opportunity_hours_per_month": 123,
"example_tickets": [
{
"psa_id": "<string>",
"ticket_number": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"hours_coverage_pct": 123,
"hours_logged_per_month": 123,
"integrations_to_connect": [
"<string>"
],
"machine_generated": true,
"manual_tickets_per_month": 123,
"median_hours_per_ticket": 123,
"missing_integrations": [
"<string>"
],
"name": "<string>",
"neo_share_before_pct": 123,
"neo_share_pct": 123,
"neo_share_recent_pct": 123,
"neo_touched_before_pct": 123,
"neo_touched_pct": 123,
"neo_touched_recent_pct": 123,
"opportunity_hours_per_month": 123,
"problem_id": 123,
"psa_categories": [
"<string>"
],
"rank": 123,
"sample_tickets": 123,
"tickets_last_30_days": 123,
"tickets_per_month": 123,
"tools_needed": [
"<string>"
],
"vendor_or_product": "<string>",
"what_stays_human": "<string>",
"what_technicians_do_today": [
"<string>"
]
}
],
"sample_size": 123,
"sample_strata": [
{
"kind": "NO_CONTACT",
"population": 123,
"sample_size": 123
}
],
"tickets_last_30_days": 123,
"tickets_per_month": 123,
"total_estimated_opportunity_hours_per_month": 123,
"total_opportunity_hours_per_month": 123,
"window_end": "<string>",
"window_months": 123,
"window_start": "<string>"
},
"months": [
"<string>"
],
"period_days": 123,
"psa_company_id": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timings_ms": {},
"pagination": {
"has_more": true,
"next_cursor": "<string>"
},
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Insights
A completed problem map
The full map as the dashboard shows it: the desk’s volume and Neo’s share, and each recurring problem ranked by technician hours, with its runbook, what stays human, readiness, Neo’s share and example tickets. The map analysis_id names, else the latest whole-desk map. 404 when there is none, or it is not the tenant’s or not complete.
GET
/
public-api
/
insights
/
problems
/
result
A completed problem map
curl --request GET \
--url https://api.neoagent.io/public-api/insights/problems/result \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.neoagent.io/public-api/insights/problems/result"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.neoagent.io/public-api/insights/problems/result', 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.neoagent.io/public-api/insights/problems/result",
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: Bearer <token>"
],
]);
$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.neoagent.io/public-api/insights/problems/result"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.neoagent.io/public-api/insights/problems/result")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neoagent.io/public-api/insights/problems/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"analysis_id": 123,
"completed_at": "<string>",
"excluded_psa_company_ids": [
"<string>"
],
"map": {
"analysis_company_id": "<string>",
"analysis_company_name": "<string>",
"analysis_months": [
"<string>"
],
"clustered_share_pct": 123,
"excluded_company_ids": [
"<string>"
],
"excluded_company_names": [
"<string>"
],
"hours_coverage_pct": 123,
"hours_logged_per_month": 123,
"long_tail_neo_share_pct": 123,
"long_tail_neo_touched_pct": 123,
"long_tail_share_pct": 123,
"median_hours_per_ticket": 123,
"msp_name": "<string>",
"neo_share_before_pct": 123,
"neo_share_by_month": [
{
"month": "<string>",
"resolved_pct": 123,
"tickets": 123,
"touched_pct": 123
}
],
"neo_share_pct": 123,
"neo_share_recent_pct": 123,
"neo_touched_before_pct": 123,
"neo_touched_pct": 123,
"neo_touched_recent_pct": 123,
"population_tickets": 123,
"problems": [
{
"category": "Password Resets",
"connect_integrations": [
{
"id": "<string>",
"name": "<string>"
}
],
"estimate_basis": "PROBLEM_MEDIAN",
"estimated_opportunity_hours_per_month": 123,
"example_tickets": [
{
"psa_id": "<string>",
"ticket_number": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"hours_coverage_pct": 123,
"hours_logged_per_month": 123,
"integrations_to_connect": [
"<string>"
],
"machine_generated": true,
"manual_tickets_per_month": 123,
"median_hours_per_ticket": 123,
"missing_integrations": [
"<string>"
],
"name": "<string>",
"neo_share_before_pct": 123,
"neo_share_pct": 123,
"neo_share_recent_pct": 123,
"neo_touched_before_pct": 123,
"neo_touched_pct": 123,
"neo_touched_recent_pct": 123,
"opportunity_hours_per_month": 123,
"problem_id": 123,
"psa_categories": [
"<string>"
],
"rank": 123,
"sample_tickets": 123,
"tickets_last_30_days": 123,
"tickets_per_month": 123,
"tools_needed": [
"<string>"
],
"vendor_or_product": "<string>",
"what_stays_human": "<string>",
"what_technicians_do_today": [
"<string>"
]
}
],
"sample_size": 123,
"sample_strata": [
{
"kind": "NO_CONTACT",
"population": 123,
"sample_size": 123
}
],
"tickets_last_30_days": 123,
"tickets_per_month": 123,
"total_estimated_opportunity_hours_per_month": 123,
"total_opportunity_hours_per_month": 123,
"window_end": "<string>",
"window_months": 123,
"window_start": "<string>"
},
"months": [
"<string>"
],
"period_days": 123,
"psa_company_id": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timings_ms": {},
"pagination": {
"has_more": true,
"next_cursor": "<string>"
},
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Authorizations
Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).
Query Parameters
Optional: the map to read. Default: the latest whole-desk map.
