curl --location '/queries/clients/4005e4a6-08b5-4dea-b4f9-35a6630154ad/scr/b7e3c2a1-4f5d-4a6b-8c9d-0e1f2a3b4c5d' \
--header 'x-api-key: SUA_CHAVE_DE_API' \
--header 'Authorization: Bearer <token>'{
"_id": "9b2f4c1e-5a7d-4e8b-9c3f-2d1a6b8e7f40",
"clientId": "4005e4a6-08b5-4dea-b4f9-35a6630154ad",
"queryId": "b7e3c2a1-4f5d-4a6b-8c9d-0e1f2a3b4c5d",
"requestedAt": "2026-06-18T13:05:40.120Z",
"requestStatus": "Processada",
"authorizationStatus": "Autorizado",
"authorizedAt": "2026-06-18T13:11:11.044Z",
"completedAt": "2026-06-18T13:11:12.717Z",
"personType": "PJ",
"clientTaxId": "12.345.678/0001-90",
"clientName": "Fazenda Exemplo Ltda",
"userId": "5f8d0d55b54764421b7156c9",
"userEmail": "maria@example.com",
"companyName": "Empresa Exemplo S.A.",
"chart": {
"featuredValues": {
"totalRisk": 1250000.5,
"totalResponsability": 1180000.25,
"activePortfolio": 980000.25,
"due": 950000.25,
"overDue": 30000,
"loss": 0,
"totalOperations": "12",
"totalInstitutions": "4"
},
"creditTimeline": [
{
"baseDate": "2026-05",
"due": 950000.25,
"overdue": 30000,
"loss": 0,
"limits": 200000,
"totalRisk": 1250000.5,
"projected": "false",
"variation": 2.35
}
],
"basedatesByType": {
"category": [
{
"label": "2026-05"
}
],
"dataset": [
{
"seriesname": "Custeio agrícola",
"data": [
{
"value": 620000
}
]
}
]
},
"creditProfile": {
"due": [
{
"index": 0,
"name": "Custeio agrícola",
"value": 620000,
"percentage": "65.26"
}
],
"overdue": [
{
"index": 0,
"name": "Capital de giro",
"value": 30000,
"percentage": "100.00"
}
]
},
"creditBalance": {
"reais": {
"value": 980000.25
},
"foreignCurrency": {
"reais": {
"value": 0
}
}
}
},
"indicators": {
"debt_cost": {
"value": 1.85,
"indicator": "Bom"
},
"debt_quality": {
"value": 96.9,
"indicator": "Bom"
},
"active_wallet_variation": {
"value": 2.35,
"indicator": "Estável"
},
"rural_vs_total_debt": {
"value": 63.27,
"indicator": "Bom"
},
"onerous_lines_percentage": {
"value": 12.4,
"indicator": "Bom"
},
"experience_time": {
"value": 96,
"indicator": "Bom"
}
},
"reasons": null,
"report": {
"_id": null,
"excel": {
"due_date_flow": "https://storage.example.com/scr/fluxo-vencimentos.xlsx",
"basedates_history": "https://storage.example.com/scr/historico.xlsx",
"basedates_by_type": "https://storage.example.com/scr/por-modalidade.xlsx",
"basedates_situation": "https://storage.example.com/scr/por-situacao.xlsx",
"basedate_summary": "https://storage.example.com/scr/resumo.xlsx",
"all": "https://storage.example.com/scr/completo.xlsx"
},
"dueDateFlow": {
"client_name": "Fazenda Exemplo Ltda",
"base_date": "2026-05",
"if_percent": 98.5,
"value_percent": 99.2,
"credit_portfolio": {
"due": {
"1_30": {
"usd": 0,
"brl": 80000
},
"31_60": {
"usd": 0,
"brl": 75000
},
"61_90": {
"usd": 0,
"brl": 70000
},
"91_180": {
"usd": 0,
"brl": 150000
},
"181_360": {
"usd": 0,
"brl": 250000
},
"above_360": {
"usd": 0,
"brl": 325000.25
},
"undefined": {
"usd": 0,
"brl": 0
}
},
"overdue": {
"1_30": {
"usd": 0,
"brl": 30000
},
"31_60": {
"usd": 0,
"brl": 0
},
"61_90": {
"usd": 0,
"brl": 0
},
"91_180": {
"usd": 0,
"brl": 0
},
"181_360": {
"usd": 0,
"brl": 0
},
"above_360": {
"usd": 0,
"brl": 0
}
},
"loss": {
"1_12": {
"usd": 0,
"brl": 0
},
"12_48": {
"usd": 0,
"brl": 0
}
},
"totals": {
"due": {
"usd": 0,
"brl": 950000.25
},
"overdue": {
"usd": 0,
"brl": 30000
},
"loss": {
"usd": 0,
"brl": 0
},
"active": {
"usd": 0,
"brl": 980000.25
},
"total": {
"usd": 0,
"brl": 980000.25
}
}
},
"credit_titles": {
"usd": 0,
"brl": 0
},
"interfinancial_onlending": {
"usd": 0,
"brl": 0
},
"coobligations": {
"assignment": {
"usd": 0,
"brl": 0
},
"guarantees": {
"usd": 0,
"brl": 200000
},
"total": {
"usd": 0,
"brl": 200000
}
},
"total_liabilities": {
"usd": 0,
"brl": 1180000.25
},
"credit_limits": {
"to_release": {
"1_360": {
"usd": 0,
"brl": 50000
},
"above_360": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 50000
}
},
"limits": {
"1_360": {
"usd": 0,
"brl": 20000.25
},
"above_360": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 20000.25
}
}
},
"indirect_risk": {
"usd": 0,
"brl": 0
},
"total_risk": {
"usd": 0,
"brl": 1250000.5
},
"received_coobligations": {
"usd": 0,
"brl": 0
}
},
"basedatesHistory": {
"client_name": "Fazenda Exemplo Ltda",
"history": [
{
"base_date": "2026-05",
"due": 950000.25,
"overdue": 30000,
"loss": 0,
"credit_portfolio": 980000.25,
"credit_titles": 0,
"interfinancial_onlending": 0,
"coobligations": 200000,
"total_liability": 1180000.25,
"to_release": 50000,
"limits": 20000.25,
"indirect": 0,
"total_risk": 1250000.5,
"received_coobligations": 0
}
]
},
"basedatesByType": [
{
"index": 0,
"row_data": [
"Custeio agrícola",
"620000.00"
],
"children": []
}
],
"basedatesSituation": [
{
"index": 0,
"row_data": [
"A vencer",
"950000.25"
],
"children": []
}
],
"basedateSummary": [
{
"index": 0,
"row_data": [
"Carteira ativa",
"980000.25"
],
"children": []
}
]
},
"createdAt": "2026-06-18T13:11:12.940Z",
"updatedAt": "2026-06-18T13:11:12.940Z",
"scrAnalysis": {
"status": "FILA",
"createdAt": "2026-06-18T13:20:00.000Z"
}
}