バッチ設定一覧
認証済みクライアントアカウントが所有するバッチ設定(BatchConfiguration)を一覧表示します。結果は JWT 上のクライアントにスコープされ、新しい順(createdAt 降順)でソートされ、展開された steps.appFeature メタデータおよびクライアント固有の ClientFeature 価格情報とともに返されます。
total、limit、page、pages メタデータを含むページネーション結果が必要な場合は page を指定してください。一致する配列を data で直接受け取る場合は page を省略します。設定の一覧取得は照会を実行せず、クレジットも消費しません。
エンドポイント
GET https://api.verifik.co/v2/batch-configurations
クライアント単位の Authorization: Bearer <VERIFIK_JWT> ヘッダーを使用することで、Smart-Agent プロキシ(https://ai.verifik.co/v2/batch-configurations)経由でもアクセスできます。共有 x402 実行は 403 Forbidden でブロックされます。
ヘッダー
| 名前 | 値 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <VERIFIK_JWT> |
トークンは クライアント JWT である必要があります。認証情報がないか無効な場合は 401 Unauthorized を返します。
パラメータ
すべてのクエリパラメータは任意です。
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
search | string | いいえ | 保存済み設定に適用される大文字・小文字を区別しない名前フィルター。 |
text | string | いいえ | search のエイリアス。 |
page | integer | いいえ | ページ番号(1 始まり)。指定すると、レスポンスにページネーションメタデータ(total、limit、page、pages)が含まれます。 |
limit | integer | いいえ | 1 ページあたりに返す設定の最大件数。 |
perPage | integer | いいえ | limit のエイリアス。 |
リクエスト
- Node.js
- PHP
- Python
- Go
- cURL
const fetch = require("node-fetch");
async function run() {
const params = new URLSearchParams({
search: "Colombia",
page: "1",
limit: "20",
});
const res = await fetch(`https://api.verifik.co/v2/batch-configurations?${params.toString()}`, {
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});
console.log(await res.json());
}
run();
<?php
$query = http_build_query([
"search" => "Colombia",
"page" => 1,
"limit" => 20
]);
$ch = curl_init("https://api.verifik.co/v2/batch-configurations?" . $query);
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
url = "https://api.verifik.co/v2/batch-configurations"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {os.getenv('VERIFIK_JWT')}",
}
params = {
"search": "Colombia",
"page": 1,
"limit": 20,
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
)
func main() {
u, _ := url.Parse("https://api.verifik.co/v2/batch-configurations")
q := u.Query()
q.Set("search", "Colombia")
q.Set("page", "1")
q.Set("limit", "20")
u.RawQuery = q.Encode()
req, _ := http.NewRequest("GET", u.String(), 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?search=Colombia&page=1&limit=20" \
-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"
}
],
"total": 1,
"limit": 20,
"page": 1,
"pages": 1
}
{
"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"
}
]
}
{
"message": "Unauthorized",
"code": "Unauthorized"
}
{
"message": "Access forbidden",
"code": "Forbidden"
}
補足
- 結果は認証済みクライアント JWT に自動的にスコープされ、新しい順(
-createdAt)でソートされます。 - 各ステップの
steps.appFeatureが展開され、設定されている場合はアカウントのClientFeature価格が付与されます。 perPageはlimitのエイリアス、textはsearchのエイリアスです。- ページネーションメタデータ(
total、limit、page、pages)は、クエリ文字列にpageが指定された場合にのみ含まれます。