Taxa de falso positivo
curl --request GET \
--url https://api.pictor.cloud/api/analytics/review-stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pictor.cloud/api/analytics/review-stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pictor.cloud/api/analytics/review-stats', 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.pictor.cloud/api/analytics/review-stats",
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.pictor.cloud/api/analytics/review-stats"
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.pictor.cloud/api/analytics/review-stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pictor.cloud/api/analytics/review-stats")
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{
"by_camera": [
{
"camera_name": "Guarita - entrada",
"device_id": "0b8f1c22-6d4e-4a17-9b02-3f5a7c8d9e10",
"false_positive": 31,
"false_positive_rate": 0.437,
"reviewed": 71,
"total": 96,
"true_positive": 40,
"unreviewed": 25,
"worst_profile_id": "4c5d6e70-8f90-4a1b-9c2d-3e4f5a6b7c8d"
}
],
"by_day": [
{
"day": "2026-09-02",
"false_positive": 8,
"false_positive_rate": 0.195,
"reviewed": 41,
"total": 63,
"true_positive": 33,
"unreviewed": 22
}
],
"days": 7,
"false_positive": 62,
"false_positive_rate": 0.238,
"reviewed": 260,
"since": "2026-08-27T00:00:00Z",
"total": 412,
"true_positive": 198,
"unreviewed": 152
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Eventos de IA
Taxa de falso positivo
Quanto do que a análise apontou era mesmo o que ela disse — a taxa de falso positivo agregada, no total, por câmera e por dia.
Serve para duas conversas. A interna: qual câmera está gerando ruído e precisa de ajuste de enquadramento ou de sensibilidade. A externa: mostrar ao cliente que o que chega até ele foi filtrado.
O número só existe onde o operador deu veredito. Câmera sem revisão não aparece com taxa zero — ela não aparece, e a diferença importa.
GET
/
api
/
analytics
/
review-stats
Taxa de falso positivo
curl --request GET \
--url https://api.pictor.cloud/api/analytics/review-stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pictor.cloud/api/analytics/review-stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pictor.cloud/api/analytics/review-stats', 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.pictor.cloud/api/analytics/review-stats",
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.pictor.cloud/api/analytics/review-stats"
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.pictor.cloud/api/analytics/review-stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pictor.cloud/api/analytics/review-stats")
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{
"by_camera": [
{
"camera_name": "Guarita - entrada",
"device_id": "0b8f1c22-6d4e-4a17-9b02-3f5a7c8d9e10",
"false_positive": 31,
"false_positive_rate": 0.437,
"reviewed": 71,
"total": 96,
"true_positive": 40,
"unreviewed": 25,
"worst_profile_id": "4c5d6e70-8f90-4a1b-9c2d-3e4f5a6b7c8d"
}
],
"by_day": [
{
"day": "2026-09-02",
"false_positive": 8,
"false_positive_rate": 0.195,
"reviewed": 41,
"total": 63,
"true_positive": 33,
"unreviewed": 22
}
],
"days": 7,
"false_positive": 62,
"false_positive_rate": 0.238,
"reviewed": 260,
"since": "2026-08-27T00:00:00Z",
"total": 412,
"true_positive": 198,
"unreviewed": 152
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Chave de API da conta, no formato pct_<prefixo>_<segredo>.
Response
Successful Response
GET /api/analytics/review-stats — a camada 3 do ADR-PICTOR-011.
Show child attributes
Show child attributes
Show child attributes
Show child attributes