Historial de monitoreo de una entidad
curl --request GET \
--url http://api.gu1.ai/entities/{id}/monitoring/history \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/entities/{id}/monitoring/history"
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/history', 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/history",
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/history"
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/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/entities/{id}/monitoring/history")
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_bodyReferencia API
Historial de monitoreo de una entidad
GET /entities//monitoring/history — suscripciones y cambios de screening — en el servicio de monitoreo de entidades gu1 para screening continuo.
GET
/
entities
/
{id}
/
monitoring
/
history
Historial de monitoreo de una entidad
curl --request GET \
--url http://api.gu1.ai/entities/{id}/monitoring/history \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/entities/{id}/monitoring/history"
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/history', 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/history",
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/history"
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/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/entities/{id}/monitoring/history")
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_bodyGET http://api.gu1.ai/entities/{id}/monitoring/history
Autenticación
Authorization: Bearer YOUR_API_KEY
Parámetros de ruta
string
required
UUID de la entidad.
Query
string
required
subscriptions— eventos de alta/baja de lista vigilada (ciclo de vida).changes— snapshots y detecciones de corridas de screening.
integer
Por página (por defecto 20, máximo 100).
integer
Desplazamiento para paginación.
string
Opcional. Por defecto el código de integración de sanciones Gu1 enrichment.
string
Solo con
tab=subscriptions. Valores útiles: 1, true o yes para calcular rangos activos abiertos.Ejemplos
# Suscripciones (últimas altas/bajas)
curl -sS "http://api.gu1.ai/entities/{id}/monitoring/history?tab=subscriptions&limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
# Cambios / detecciones
curl -sS "http://api.gu1.ai/entities/{id}/monitoring/history?tab=changes&limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
Was this page helpful?