배치 구성 조회
ObjectId({id})로 단일 BatchConfiguration을 조회합니다. 조회는 인증된 클라이언트 JWT 범위로 제한되며, 계정의 ClientFeature 가격 정보로 보강되고 채워진 steps.appFeature 세부 정보를 반환합니다.
일치하는 구성이 없거나 ID가 다른 클라이언트 계정에 속한 경우 엔드포인트는 data: null과 함께 HTTP 200을 반환합니다. 구성을 읽어도 조회가 실행되지 않으며 크레딧이 소비되지 않습니다.
엔드포인트
GET https://api.verifik.co/v2/batch-configurations/{id}
클라이언트별 Authorization: Bearer <VERIFIK_JWT> 헤더를 사용하여 Smart-Agent 프록시(https://ai.verifik.co/v2/batch-configurations/{id})에서도 호출할 수 있습니다. 공유 x402 실행은 403 Forbidden으로 차단됩니다.
헤더
| 이름 | 값 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <VERIFIK_JWT> |
토큰은 클라이언트 JWT여야 합니다. 자격 증명이 누락되었거나 유효하지 않으면 401 Unauthorized가 반환됩니다.
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | 생성, 복제 또는 목록 조회에서 얻은 BatchConfiguration ObjectId. |
요청
- Node.js
- PHP
- Python
- Go
- cURL
const fetch = require("node-fetch");
async function run() {
const id = "67d1b4a0e4f5a60718293b12";
const res = await fetch(`https://api.verifik.co/v2/batch-configurations/${id}`, {
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});
console.log(await res.json());
}
run();
<?php
$id = "67d1b4a0e4f5a60718293b12";
$ch = curl_init("https://api.verifik.co/v2/batch-configurations/" . $id);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json",
"Authorization: Bearer " . getenv("VERIFIK_JWT")
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import os
import requests
config_id = "67d1b4a0e4f5a60718293b12"
url = f"https://api.verifik.co/v2/batch-configurations/{config_id}"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {os.getenv('VERIFIK_JWT')}",
}
r = requests.get(url, headers=headers)
print(r.json())
package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
id := "67d1b4a0e4f5a60718293b12"
req, _ := http.NewRequest("GET", "https://api.verifik.co/v2/batch-configurations/"+id, nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERIFIK_JWT"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
var out map[string]interface{}
json.NewDecoder(resp.Body).Decode(&out)
fmt.Println(out)
}
curl -sS "https://api.verifik.co/v2/batch-configurations/67d1b4a0e4f5a60718293b12" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $VERIFIK_JWT"
응답
- 200
- 200 (찾을 수 없음)
- 401
- 403
{
"data": {
"_id": "67d1b4a0e4f5a60718293b12",
"name": "Colombia Citizen Essential",
"description": "Core Colombian identity and registry verification for citizens.",
"country": "CO",
"executor": "browser",
"inputFormat": "csv",
"outputFormat": "csv",
"mergeStrategy": "sequential",
"preferredReportTemplate": "67d1b4a1e4f5a60718293b15",
"isActive": true,
"steps": [
{
"_id": "67d1b4a0e4f5a60718293b13",
"appFeature": {
"_id": "65f0a1b2c3d4e5f607182901",
"name": "Colombian Cédula Validation",
"code": "co-cedula",
"url": "/v2/co/cedula",
"method": "GET",
"price": 0.05,
"smartCheckPrice": 0.05,
"country": "Colombia"
},
"sequence": 1,
"enabled": true,
"parameterDefaults": {},
"queryMode": "byDocument",
"inputFieldMapping": {},
"outputFieldsToKeep": [],
"maxRetries": 3,
"retryDelayBaseSeconds": 4,
"timeoutSeconds": 30
}
],
"createdAt": "2026-10-15T14:20:00.000Z",
"updatedAt": "2026-10-15T14:20:00.000Z"
}
}
{
"data": null
}
{
"message": "Unauthorized",
"code": "Unauthorized"
}
{
"message": "Access forbidden",
"code": "Forbidden"
}
참고
{id}가 존재하지 않거나 다른 클라이언트 계정에 속한 경우, 이 엔드포인트는{ "data": null }과 함께 HTTP200을 반환합니다.- 연동 코드에서
data의 속성을 읽기 전에data !== null인지 확인하세요. - 구성에 대해 확인된 필수/선택 입력과
exampleInput페이로드를 검사하려면 구성 입력 스키마 조회를 호출하세요.