REST APIs
...
Analysis
Retrieve list of analysis for a profile
code examples curl location globoff 'https //api detected app/api/v2/public/profiles/{uuid}/analysis' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //api detected app/api/v2/public/profiles/{uuid}/analysis", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api detected app/api/v2/public/profiles/{uuid}/analysis") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //api detected app/api/v2/public/profiles/{uuid}/analysis" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // ok { "data" { "id" "", "status" "completed", "score" 50, "workflow" \[ { "id" "a02c6594 cc1a 4602 9704 2b3a7c8e1681", "name" "risk engine (default)" } ], "risk" "medium", "report" \[ { "name" "company stability", "total rules" 1, "total completed rules" 1, "result" \[ { "id" "a044b2e2 f715 4293 b8a5 2f25c9cb24d9", "analysis id" "a044b2e2 d96a 4975 87ac 3ca7751362bf", "score" 0, "state" "analysed", "label" "company age less than 12 months", "description" "if the age of the company is less than 12 months then a score will be returned ", "result" "passed" } ] } ], "created at" "03 11 2025 11 26 34" } }// unauthorized { "message" "unauthorized " }// too many requests { "message" "too many attempts " }