Listar Investigações
curl --request GET \
--url http://api.gu1.ai/intelligence/investigations \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/intelligence/investigations"
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/intelligence/investigations', 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/intelligence/investigations",
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/intelligence/investigations"
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/intelligence/investigations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/intelligence/investigations")
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_bodyReferência API
Listar Investigações
Lista investigações vinculadas a uma entidade no fluxo de gestão de casos gu1 — suporta filtro por status, responsável e data para equipes de compliance.
GET
/
intelligence
/
investigations
Listar Investigações
curl --request GET \
--url http://api.gu1.ai/intelligence/investigations \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/intelligence/investigations"
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/intelligence/investigations', 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/intelligence/investigations",
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/intelligence/investigations"
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/intelligence/investigations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/intelligence/investigations")
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_bodyVisão Geral
Recupera todas as investigações para uma entidade específica.Endpoint
GET http://api.gu1.ai/intelligence/investigations
Parâmetros de Consulta
string
required
ID da entidade para filtrar investigações
string
Filtrar por status: OPEN, IN_PROGRESS, PENDING_REVIEW, CLOSED
string
Filtrar por prioridade: LOW, MEDIUM, HIGH, CRITICAL
Resposta
{
"success": true,
"investigations": [
{
"id": "inv-123",
"name": "Investigação AML",
"investigationNumber": "INV-2024-001",
"status": "IN_PROGRESS",
"priority": "HIGH",
"riskScore": 85,
"alertCount": 3,
"createdAt": "2024-12-23T10:00:00Z"
}
],
"count": 1
}
Exemplo
curl -X GET "http://api.gu1.ai/intelligence/investigations?entityId=entity-123&status=OPEN" \
-H "Authorization: Bearer YOUR_API_KEY"
Veja Também
Was this page helpful?
⌘I