Obter monitoramento da entidade
curl --request GET \
--url http://api.gu1.ai/entities/{id}/monitoring \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/entities/{id}/monitoring"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/entities/{id}/monitoring', 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 => "http://api.gu1.ai/entities/{id}/monitoring",
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 := "http://api.gu1.ai/entities/{id}/monitoring"
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("http://api.gu1.ai/entities/{id}/monitoring")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/entities/{id}/monitoring")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"guenoDailyScreeningHitToday": true,
"integrations": [
{}
]
}Referência API
Obter monitoramento da entidade
Consulta o estado de monitoramento de listas vigiadas de uma entidade por integração (ex.: sanções gu1), com última verificação e correspondências.
GET
/
entities
/
{id}
/
monitoring
Obter monitoramento da entidade
curl --request GET \
--url http://api.gu1.ai/entities/{id}/monitoring \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/entities/{id}/monitoring"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/entities/{id}/monitoring', 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 => "http://api.gu1.ai/entities/{id}/monitoring",
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 := "http://api.gu1.ai/entities/{id}/monitoring"
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("http://api.gu1.ai/entities/{id}/monitoring")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/entities/{id}/monitoring")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"guenoDailyScreeningHitToday": true,
"integrations": [
{}
]
}GET http://api.gu1.ai/entities/{id}/monitoring
Autenticação
Authorization: Bearer YOUR_API_KEY
entities:read).
Parâmetros de rota
string
required
UUID interno da entidade no gu1.
Resposta (resumo)
boolean
Indica se houve pelo menos uma detecção do screening diário hoje (lógica de fuso configurada).
array
Lista por código de integração. Hoje costuma incluir sanções globais Gu1 com campos como code, displayName, orgMonitoringEnabled, watchlistSearchName, watchlistUniqueId, isActive, monitoringOptOut, hasRow, riskMatrixId, riskMatrixName (matriz opcional só para corridas disparadas pelo monitoramento;
null = usar a matriz global da entidade nesse fluxo).Exemplo
curl -sS "http://api.gu1.ai/entities/550e8400-e29b-41d4-a716-446655440000/monitoring" \
-H "Authorization: Bearer YOUR_API_KEY"
Was this page helpful?