Skip to main content

보고서 프리셋 목록

계정에서 사용할 수 있는 선별된 시스템 Smart Report 프리셋 목록을 조회합니다. 각 프리셋에는 systemKey, 메타데이터(country, category, tier), 계정 사용 가능 여부(available), 순서가 지정된 presetSteps, 그리고 헤드리스 실행이나 AI 에이전트에서 바로 사용할 수 있는 exampleInput이 포함된 확인된 inputSchema가 들어 있습니다.

확인된 inputSchema는 내부 실행 매개변수와 연결된 visitaFlow 종속성을 통해 이미 공급되는 단계 입력을 자동으로 제외하여, 호출자가 제공해야 하는 필드만 남깁니다. 프리셋 목록 조회는 읽기 전용 탐색 호출이며 크레딧을 소비하지 않습니다. 이 엔드포인트는 smart_report_list_presets MCP 도구로도 노출됩니다.

엔드포인트​

GET https://api.verifik.co/v2/smart-batch-presets

클라이언트별 Authorization: Bearer <VERIFIK_JWT> 헤더를 사용하여 Smart-Agent 프록시(https://ai.verifik.co/v2/smart-batch-presets)에서도 호출할 수 있습니다. 공유 x402 실행은 이 경로에서 403 Forbidden으로 차단됩니다.

헤더​

이름값
Content-Typeapplication/json
AuthorizationBearer <VERIFIK_JWT>

토큰은 클라이언트 JWT여야 합니다. 자격 증명이 누락되었거나 유효하지 않으면 401 Unauthorized가 반환됩니다.

매개변수​

모든 쿼리 매개변수는 선택 사항입니다. 조합하여 관할 지역, 엔터티 카테고리, 티어 또는 키워드로 프리셋을 필터링할 수 있습니다.

이름타입필수설명
countrystring아니요국가 코드 필터. 서버에서 공백을 제거하고 대문자로 변환합니다(예: CO).
categorystring아니요프리셋 카테고리 필터. 허용 값: citizen, company, vehicle.
tierstring아니요프리셋 깊이 필터. 허용 값: essential 또는 comprehensive.
searchstring아니요name, description, systemKey 전반에 대한 대소문자 구분 없는 정규식 일치 검색.
textstring아니요search의 별칭.

요청​

const fetch = require("node-fetch");

async function run() {
const params = new URLSearchParams({
country: "CO",
category: "citizen",
tier: "essential",
});

const res = await fetch(`https://api.verifik.co/v2/smart-batch-presets?${params.toString()}`, {
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});
console.log(await res.json());
}

run();

응답​

{
"data": [
{
"templateId": "67d1b2c3e4f5a60718293a01",
"systemKey": "co.citizen.essential",
"name": "Colombia Citizen Essential",
"description": "Core Colombian identity and registry verification for citizens.",
"country": "CO",
"category": "citizen",
"tier": "essential",
"stepCount": 2,
"available": true,
"presetSteps": [
{
"sequence": 1,
"appFeatureCode": "co-cedula",
"queryMode": "byDocument",
"featureName": "Colombian Cédula Validation"
},
{
"sequence": 2,
"appFeatureCode": "co-procuraduria",
"queryMode": "byDocument",
"featureName": "Colombian Procuraduría Check"
}
],
"inputSchema": {
"stepCount": 2,
"estimatedCreditsPerRow": 0.15,
"requiredFields": [
{
"field": "documentType",
"apiField": "documentType",
"type": "string",
"required": true,
"enum": ["CC", "CE"]
},
{
"field": "documentNumber",
"apiField": "documentNumber",
"type": "string",
"required": true
}
],
"optionalFields": [],
"jsonSchema": {
"type": "object",
"properties": {
"documentType": {
"type": "string",
"enum": ["CC", "CE"]
},
"documentNumber": {
"type": "string"
}
},
"required": ["documentType", "documentNumber"]
},
"exampleInput": {
"documentType": "CC",
"documentNumber": "123456789"
}
}
}
]
}

참고​

  • country는 필터링 전에 공백이 제거되고 대문자로 변환됩니다(예: co는 CO와 일치).
  • search와 text는 name, description, systemKey에 대해 동일한 대소문자 구분 없는 정규식 일치를 실행합니다.
  • inputSchema.estimatedCreditsPerRow는 프리셋의 활성화된 단계 전반에 걸친 행당 예상 크레딧 비용을 추정합니다.
  • available이 true이면 presetSteps의 모든 기능이 현재 환경에서 활성화되어 있으며 보고서 프리셋 복제로 바로 복제할 수 있습니다.
  • AI 에이전트 연동의 경우 이 엔드포인트는 smart_report_list_presets MCP 도구에 해당합니다.

관련​