Skip to main content

Smart Batch 행 보고서 조회

SmartBatch의 단일 행(rowIndex)에 대한 구조화된 행 보고서 모델을 구성합니다. 이 엔드포인트는 해당 행의 저장된 단계 출력에 대해 Verifik의 기본 제공 보고서 컴포저(colombia_vehicle)를 실행하며, score 또는 scoreProfile이 전달되면 선택적으로 verificationScore를 첨부합니다.

배치의 BatchConfiguration이 기본 제공 컴포저와 일치하지 않으면 이 엔드포인트는 409 Conflict (no_report_composer_for_configuration)를 반환합니다. 임의의 사용자 지정 보고서 템플릿의 경우 대신 POST /v2/smart-reports/run, GET /v2/smart-reports/{id}/html 또는 /generate를 사용하세요. 이 엔드포인트를 읽어도 크레딧이 소비되지 않습니다.

엔드포인트​

GET https://api.verifik.co/v2/smart-batches/{id}/rows/{rowIndex}/report

클라이언트별 Authorization: Bearer <VERIFIK_JWT>를 사용하여 Smart-Agent 프록시(https://ai.verifik.co/v2/smart-batches/{id}/rows/{rowIndex}/report)를 통해서도 호출할 수 있습니다. 공유 x402 실행은 403 Forbidden으로 차단됩니다.

헤더​

이름값설명
Content-Typeapplication/json요청 페이로드 형식.
AuthorizationBearer <VERIFIK_JWT>클라이언트 범위 JWT (authUser.clientId).

경로 매개변수​

이름타입필수설명
idstring예SmartBatch ObjectId.
rowIndexnumber예배치 내부 행의 0 기반 인덱스.

쿼리 매개변수​

이름타입필수설명
scoreboolean or string아니요응답에 verificationScore를 계산하여 포함하려면 true 또는 "1"을 전달합니다.
scoreProfilestring아니요채점 프로필 식별자. scoreProfile을 제공하면 score도 함께 활성화됩니다.

요청​

import axios from "axios";

const run = async () => {
const batchId = "6801a2b3c4d5e6f7a8b9c0d3";
const rowIndex = 0;

const { data } = await axios.get(
`https://api.verifik.co/v2/smart-batches/${batchId}/rows/${rowIndex}/report`,
{
params: {
score: true,
scoreProfile: "fleet_standard",
},
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
}
);

console.log(data);
};

run();

응답​

{
"data": {
"reportType": "colombia_vehicle",
"meta": {
"plate": "ABC123",
"documentType": "CC",
"documentNumber": "1032386359",
"vin": "9FB4SRAC2NM123456",
"batchName": "Colombia Fleet Inspection",
"rowIndex": 0,
"generatedAt": "2026-11-24T20:30:00.000Z"
},
"summary": {
"soatVigente": "VIGENTE",
"soatVencimiento": "2027-03-15",
"rtmVigente": "SI",
"rtmVencimiento": "2027-04-01",
"tieneGravamenes": "NO",
"blindado": "NO",
"pazSalvo": "SI",
"comparendoCount": 0,
"sinisterCount": 0
},
"blocks": {
"runt_vehicle_by_plate": {
"featureCode": "colombia_api_vehicle_complete_by_plate",
"title": "RUNT — Vehículo",
"status": "ok",
"sequence": 1,
"sections": [
{
"id": "identity",
"title": "Identificación",
"priority": "high"
}
],
"displayRows": [],
"tables": []
}
},
"blockOrder": [
"runt_vehicle_by_plate"
],
"verificationScore": {
"version": 1,
"profile": "fleet_standard",
"profileLabel": "Fleet Standard",
"score": 0.96,
"score100": 96,
"decision": "approve",
"band": "low_risk",
"coverage": 1,
"coveragePercent": 100
}
}
}

참고​

  • 이 엔드포인트는 기본 제공 구성 행 보고서(colombia_vehicle)만 제공합니다. 그 외의 다른 구성은 409 Conflict (no_report_composer_for_configuration)를 반환합니다.
  • 모든 구성에서 사용자 지정 템플릿, 테마가 적용된 HTML 렌더링 또는 PDF 문서를 생성하려면 POST /v2/smart-reports/run, GET /v2/smart-reports/{id}/html 또는 /generate를 사용하세요(Smart Report 실행 참조).
  • score=true, score=1 또는 scoreProfile이 제공되지 않으면 verificationScore는 생략됩니다.

관련​