Configuração
curl --request GET \
--url https://api.lazydata.com.br/v1/monitoring/person/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lazydata.com.br/v1/monitoring/person/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lazydata.com.br/v1/monitoring/person/config', 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.lazydata.com.br/v1/monitoring/person/config",
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.lazydata.com.br/v1/monitoring/person/config"
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.lazydata.com.br/v1/monitoring/person/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lazydata.com.br/v1/monitoring/person/config")
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{
"code": 200,
"message": "Configuração de monitoramento retornada com sucesso.",
"result": {
"monitoring": {
"id": "person_datasets",
"name": "Monitoramento de pessoa física",
"type": "pf",
"pricing_mode": "datasets",
"price_per_check": 0,
"frequencies": [
{
"id": "daily",
"name": "Diário",
"checks_per_month": 30,
"interval_seconds": 86400,
"estimated_monthly_cost": 0
}
]
},
"sources": [
{
"id": "person_processes",
"source_type": "virtual_process_group",
"name": "Processos",
"price_per_check": 0.35,
"active": true,
"datasets_count": 4
}
]
}
}
Pessoa física
Configuração
Consulte fontes, preços e frequências disponíveis para monitoramento de pessoa física.
GET
https://api.lazydata.com.br/
/
v1
/
monitoring
/
person
/
config
Configuração
curl --request GET \
--url https://api.lazydata.com.br/v1/monitoring/person/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lazydata.com.br/v1/monitoring/person/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lazydata.com.br/v1/monitoring/person/config', 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.lazydata.com.br/v1/monitoring/person/config",
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.lazydata.com.br/v1/monitoring/person/config"
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.lazydata.com.br/v1/monitoring/person/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lazydata.com.br/v1/monitoring/person/config")
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{
"code": 200,
"message": "Configuração de monitoramento retornada com sucesso.",
"result": {
"monitoring": {
"id": "person_datasets",
"name": "Monitoramento de pessoa física",
"type": "pf",
"pricing_mode": "datasets",
"price_per_check": 0,
"frequencies": [
{
"id": "daily",
"name": "Diário",
"checks_per_month": 30,
"interval_seconds": 86400,
"estimated_monthly_cost": 0
}
]
},
"sources": [
{
"id": "person_processes",
"source_type": "virtual_process_group",
"name": "Processos",
"price_per_check": 0.35,
"active": true,
"datasets_count": 4
}
]
}
}
Retorna as fontes disponíveis para monitorar uma pessoa física, com preço por checagem e frequências aceitas.
Estrutura de
{
"code": 200,
"message": "Configuração de monitoramento retornada com sucesso.",
"result": {
"monitoring": {
"id": "person_datasets",
"name": "Monitoramento de pessoa física",
"type": "pf",
"pricing_mode": "datasets",
"price_per_check": 0,
"frequencies": [
{
"id": "daily",
"name": "Diário",
"checks_per_month": 30,
"interval_seconds": 86400,
"estimated_monthly_cost": 0
}
]
},
"sources": [
{
"id": "person_processes",
"source_type": "virtual_process_group",
"name": "Processos",
"price_per_check": 0.35,
"active": true,
"datasets_count": 4
}
]
}
}
Estrutura de result.sources[]
| Campo | Tipo | Descrição |
|---|---|---|
id | string | ID da fonte. Use em sources[].source_id ao criar o monitoramento. |
source_type | string | Tipo da fonte, como dataset ou virtual_process_group. |
name | string | Nome amigável da fonte. |
price_per_check | number | Preço por checagem desta fonte. |
active | boolean | Indica se a fonte está disponível. |
datasets_count | integer | Total de datasets consolidados, quando aplicável. |
Frequências
Useresult.monitoring.frequencies[].id em cada item de sources na rota Criar monitoramento.⌘I

