Skip to main content

List Smart Batches

List the SmartBatch records belonging to the authenticated client account. Results default to newest first (-createdAt) and exclude the rows array unless you explicitly pass includeRows=true, keeping list responses compact.

Send page to enable paginated output with total, limit, page, and pages metadata. Omit page to receive { data } containing the matching batch array without pagination fields. Listing batches does not run checks and does not spend credits.

Endpoint​

GET https://api.verifik.co/v2/smart-batches

This endpoint is also reachable through the Smart-Agent proxy at https://ai.verifik.co/v2/smart-batches using your own per-client Authorization: Bearer <VERIFIK_JWT>. Shared x402 execution is blocked with 403 Forbidden.

Headers​

NameValueDescription
Content-Typeapplication/jsonRequest payload format.
AuthorizationBearer <VERIFIK_JWT>Client-scoped JWT (authUser.clientId).

Parameters​

NameTypeRequiredDescription
batchConfigurationstringNoFilter batches by BatchConfiguration ObjectId.
statusstringNoFilter by batch status: "draft", "pending", "processing", "paused", "completed", "failed", or "cancelled".
pagenumberNoPage number (>= 1). Enables pagination and adds total, limit, page, and pages to the response.
limitnumberNoMaximum items per response (1 to 200).
perPagenumberNoPage size (1 to 200) when page is set. Defaults to 20.
includeRowsbooleanNoSet true to include rows on each returned batch. When omitted or false, rows is excluded.
searchstringNoCase-insensitive regex search on batch name.
sortstringNoSort field and direction. Defaults to "-createdAt".
sortBystringNoSort field name when paired with sortOrder.
sortOrderstringNoSort direction for sortBy: "asc" or "desc".

Unknown query parameters are rejected by Joi validation with 409 MissingParameter.

Request​

import axios from "axios";

const run = async () => {
const { data } = await axios.get("https://api.verifik.co/v2/smart-batches", {
params: {
status: "processing",
page: 1,
perPage: 20,
search: "Colombia",
sort: "-createdAt",
},
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});

console.log(data);
};

run();

Response​

{
"data": [
{
"_id": "6801a2b3c4d5e6f7a8b9c0d3",
"batchConfiguration": {
"_id": "6801a2b3c4d5e6f7a8b9c0d4",
"name": "Colombia Identity Check"
},
"client": {
"_id": "507f1f77bcf86cd799439013"
},
"name": "Colombia Onboarding — November",
"status": "processing",
"executor": "browser",
"source": "smart_batch",
"headlessRun": false,
"creditsSpent": 0.4,
"totalRows": 25,
"completedRows": 10,
"failedRows": 0,
"partialRows": 0,
"startedAt": "2026-11-24T19:50:00.000Z",
"createdAt": "2026-11-24T19:48:00.000Z",
"updatedAt": "2026-11-24T19:52:00.000Z"
}
],
"total": 1,
"limit": 20,
"page": 1,
"pages": 1
}

Notes​

  • Results are scoped to the authenticated client (clientId on your JWT).
  • Leaving includeRows omitted or false keeps list responses small; fetch full rows for one batch using Retrieve a Smart Batch.
  • Invalid query values or unknown query keys fail Joi validation with 409 MissingParameter.
  • When page is provided (>= 1), perPage defaults to 20 and supports 1 through 200.