Skip to main content

Resume a Smart Batch

Resume a paused SmartBatch (and any underlying FeatureRunner run). The server verifies that your client account still holds feature grants for all configured steps (409 endpoints_not_in_account if any endpoint access was revoked), checks that the batch is in "paused" status, and transitions it back to "processing".

If the batch is not currently "paused", the request fails with 400 BadRequest (batch_not_paused, or run_not_paused when an underlying FeatureRunner run is not paused).

Endpoint​

POST https://api.verifik.co/v2/smart-batches/{id}/resume

This endpoint is also reachable through the Smart-Agent proxy at https://ai.verifik.co/v2/smart-batches/{id}/resume 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
idstringYesSmartBatch ObjectId to resume.

Request​

import axios from "axios";

const run = async () => {
const batchId = "6801a2b3c4d5e6f7a8b9c0d3";

const { data } = await axios.post(
`https://api.verifik.co/v2/smart-batches/${batchId}/resume`,
{},
{
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
}
);

console.log(data);
};

run();

Response​

{
"data": {
"_id": "6801a2b3c4d5e6f7a8b9c0d3",
"batchConfiguration": "6801a2b3c4d5e6f7a8b9c0d4",
"client": "507f1f77bcf86cd799439013",
"name": "Colombia Onboarding — November",
"status": "processing",
"executor": "queue",
"source": "smart_batch",
"headlessRun": false,
"creditsSpent": 0.4,
"rows": [],
"totalRows": 25,
"completedRows": 10,
"failedRows": 0,
"partialRows": 0,
"startedAt": "2026-11-24T20:10:00.000Z",
"createdAt": "2026-11-24T20:00:00.000Z",
"updatedAt": "2026-11-24T20:16:00.000Z"
}
}

Notes​

  • Resuming re-validates client feature grants and rejects the request with 409 endpoints_not_in_account if any step endpoint is no longer enabled on your account.
  • Completed rows keep their stored results and are not re-executed or double-charged on resume.
  • If the batch was "draft", "pending", or "cancelled", use Start a Smart Batch instead.