Skip to main content

列出批处理配置

列出你已认证的客户账户所拥有的批处理配置(Batch Configurations)。结果按 JWT 所属客户作用域过滤,按最新创建时间降序排列(createdAt 降序),并返回已填充的 steps.appFeature 元数据以及客户专属的 ClientFeature 定价信息。

当你需要包含 total、limit、page 和 pages 元数据的分页结果时,请传入 page。若省略 page,则会直接在 data 中返回匹配的数组。列出配置不会执行查询,也不会消耗积分。

接口​

GET https://api.verifik.co/v2/batch-configurations

也可以通过 Smart-Agent 代理 https://ai.verifik.co/v2/batch-configurations 访问,并使用你自己的客户专属 Authorization: Bearer <VERIFIK_JWT> 请求头。共享 x402 执行会被拒绝并返回 403 Forbidden。

请求头​

名称值
Content-Typeapplication/json
AuthorizationBearer <VERIFIK_JWT>

令牌必须是客户 JWT。缺少凭证或凭证无效将返回 401 Unauthorized。

参数​

所有查询参数均为可选。

名称类型必填描述
searchstring否对已保存配置的名称执行不区分大小写的筛选。
textstring否search 的别名。
pageinteger否页码(从 1 开始)。传入该参数时,响应中将包含分页元数据(total、limit、page、pages)。
limitinteger否每页返回的最大配置数量。
perPageinteger否limit 的别名。

请求示例​

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

响应示例​

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

注意事项​

  • 结果会自动按已认证的客户 JWT 所属作用域过滤,并按创建时间降序(-createdAt)排列。
  • 若已配置,每个步骤的 steps.appFeature 都会被填充并附加你账户的 ClientFeature 定价信息。
  • perPage 是 limit 的别名,text 是 search 的别名。
  • 仅当查询字符串中提供 page 时,响应中才会包含分页元数据(total、limit、page、pages)。

相关文档​