Skip to main content

バッチ設定を取得する

ObjectId({id})によって単一の BatchConfiguration を取得します。検索は認証済みクライアント JWT にスコープされ、アカウントの ClientFeature 価格情報が付与された展開済みの steps.appFeature 詳細を返します。

一致する設定が存在しないか、ID が別のクライアントアカウントに属している場合、エンドポイントは HTTP 200 と data: null を返します。設定の読み取りは照会を実行せず、クレジットも消費しません。

エンドポイント​

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-Typeapplication/json
AuthorizationBearer <VERIFIK_JWT>

トークンは クライアント JWT である必要があります。認証情報がないか無効な場合は 401 Unauthorized を返します。

パラメータ​

名前型必須説明
idstringはい作成・複製・一覧取得から得た BatchConfiguration の ObjectId。

リクエスト​

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();

レスポンス​

{
"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"
}
}

補足​

  • {id} が存在しないか、別のクライアントアカウントに属している場合、このエンドポイントは HTTP 200 と { "data": null } を返します。
  • 統合コードでは data のプロパティを読み取る前に data !== null を確認してください。
  • 設定の解決済み必須/任意入力および exampleInput ペイロードを確認するには、バッチ設定の入力スキーマを取得するを呼び出してください。

関連​