Listar enriquecimentos
curl --request GET \
--url https://api.lazydata.com.br/v1/enrichment \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lazydata.com.br/v1/enrichment"
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/enrichment', 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/enrichment",
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/enrichment"
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/enrichment")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lazydata.com.br/v1/enrichment")
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": "Enriquecimentos carregados.",
"result": {
"items": [
{
"id": "9fcb573b-7f62-4774-978b-07e89dfef5f2",
"type": "pf",
"name": "Base de clientes",
"status": "waiting_configuration",
"status_label": "Aguardando configuração",
"status_badge": "warning",
"resume_step": "preview",
"file": {
"id": "5cfa31286c4a3c4a5d1e0dd1b6930c9d",
"name": "base-clientes.csv",
"extension": "csv",
"content_type": "text/csv",
"size": 24576,
"uploaded_at": "2026-06-22T12:00:00+00:00",
"total_rows": 120
},
"progress": {
"stage": "waiting_configuration",
"stage_label": "Arquivo pronto para mapeamento",
"percent": 100,
"uploaded_bytes": 24576,
"total_bytes": 24576,
"total_rows": 120,
"processed_rows": 0,
"enriched_documents": 0,
"invalid_documents": 0,
"not_found_documents": 0,
"failed_rows": 0
},
"created_at": "2026-06-22T11:59:40+00:00",
"last_updated_at": "2026-06-22T12:00:00+00:00"
}
],
"total": 1,
"offset": 0,
"limit": 10,
"has_more": false
}
}
{
"code": 401,
"message": "Credencial da API inválida."
}
{
"code": 403,
"message": "A credencial da API não possui permissão para este recurso."
}
Enriquecimento
Listar enriquecimentos
Liste enriquecimentos da conta autenticada com paginação.
GET
https://api.lazydata.com.br/
/
v1
/
enrichment
Listar enriquecimentos
curl --request GET \
--url https://api.lazydata.com.br/v1/enrichment \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lazydata.com.br/v1/enrichment"
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/enrichment', 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/enrichment",
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/enrichment"
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/enrichment")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lazydata.com.br/v1/enrichment")
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": "Enriquecimentos carregados.",
"result": {
"items": [
{
"id": "9fcb573b-7f62-4774-978b-07e89dfef5f2",
"type": "pf",
"name": "Base de clientes",
"status": "waiting_configuration",
"status_label": "Aguardando configuração",
"status_badge": "warning",
"resume_step": "preview",
"file": {
"id": "5cfa31286c4a3c4a5d1e0dd1b6930c9d",
"name": "base-clientes.csv",
"extension": "csv",
"content_type": "text/csv",
"size": 24576,
"uploaded_at": "2026-06-22T12:00:00+00:00",
"total_rows": 120
},
"progress": {
"stage": "waiting_configuration",
"stage_label": "Arquivo pronto para mapeamento",
"percent": 100,
"uploaded_bytes": 24576,
"total_bytes": 24576,
"total_rows": 120,
"processed_rows": 0,
"enriched_documents": 0,
"invalid_documents": 0,
"not_found_documents": 0,
"failed_rows": 0
},
"created_at": "2026-06-22T11:59:40+00:00",
"last_updated_at": "2026-06-22T12:00:00+00:00"
}
],
"total": 1,
"offset": 0,
"limit": 10,
"has_more": false
}
}
{
"code": 401,
"message": "Credencial da API inválida."
}
{
"code": 403,
"message": "A credencial da API não possui permissão para este recurso."
}
Lista os enriquecimentos da conta autenticada, retornando status, progresso, análise, configuração, custos e saídas resumidas.
Use esta rota para montar telas de histórico, acompanhamento e retomada de fluxos interrompidos.
Estrutura de
{
"code": 200,
"message": "Enriquecimentos carregados.",
"result": {
"items": [
{
"id": "9fcb573b-7f62-4774-978b-07e89dfef5f2",
"type": "pf",
"name": "Base de clientes",
"status": "waiting_configuration",
"status_label": "Aguardando configuração",
"status_badge": "warning",
"resume_step": "preview",
"file": {
"id": "5cfa31286c4a3c4a5d1e0dd1b6930c9d",
"name": "base-clientes.csv",
"extension": "csv",
"content_type": "text/csv",
"size": 24576,
"uploaded_at": "2026-06-22T12:00:00+00:00",
"total_rows": 120
},
"progress": {
"stage": "waiting_configuration",
"stage_label": "Arquivo pronto para mapeamento",
"percent": 100,
"uploaded_bytes": 24576,
"total_bytes": 24576,
"total_rows": 120,
"processed_rows": 0,
"enriched_documents": 0,
"invalid_documents": 0,
"not_found_documents": 0,
"failed_rows": 0
},
"created_at": "2026-06-22T11:59:40+00:00",
"last_updated_at": "2026-06-22T12:00:00+00:00"
}
],
"total": 1,
"offset": 0,
"limit": 10,
"has_more": false
}
}
{
"code": 401,
"message": "Credencial da API inválida."
}
{
"code": 403,
"message": "A credencial da API não possui permissão para este recurso."
}
Parâmetros
integer
default:"0"
Posição inicial da listagem.
integer
default:"10"
Quantidade máxima de itens retornados. O limite máximo é
100.Resposta
integer
required
Código da resposta.
string
required
Mensagem descritiva da operação.
object
required
Objeto com itens e dados de paginação.
Estrutura de result
| Campo | Tipo | Descrição |
|---|---|---|
items | array<object> | Enriquecimentos retornados. |
total | integer | Total de enriquecimentos encontrados. |
offset | integer | Posição inicial usada na consulta. |
limit | integer | Limite aplicado na consulta. |
has_more | boolean | Indica se existem mais itens após a página atual. |
Como paginar
Quandohas_more for true, faça uma nova chamada somando offset + limit.
GET /v1/enrichment
Query: offset=10&limit=10
Próximo passo
Consultar status
Consulte um enriquecimento específico para acompanhar análise, progresso e saídas.
⌘I

