Skip to main content

Retrieve a Smart Report

Retrieve a single SmartReport by its ID. The response populates template, smartBatch, and client, and attaches ready-to-use downloadUrl (/v2/smart-reports/{id}/download) and htmlUrl (/v2/smart-reports/{id}/html) paths.

This endpoint is also the polling target (pollUrl) returned when POST /v2/smart-reports/run executes in "async" mode or falls back to 202 Accepted after the 90-second sync deadline. If the report ID does not exist or belongs to a different client, the endpoint returns HTTP 200 OK with { "data": null }.

Endpoint​

GET https://api.verifik.co/v2/smart-reports/{id}

This endpoint is also reachable through the Smart-Agent proxy at https://ai.verifik.co/v2/smart-reports/{id} 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
idstringYesSmartReport ObjectId returned by POST /v2/smart-reports/run, POST /v2/smart-reports, or GET /v2/smart-reports.

Request​

import axios from "axios";

const run = async () => {
const id = "6801a2b3c4d5e6f7a8b9c0d1";
const { data } = await axios.get(`https://api.verifik.co/v2/smart-reports/${id}`, {
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});

console.log(data);
};

run();

Response​

{
"data": {
"_id": "6801a2b3c4d5e6f7a8b9c0d1",
"name": "Background Check - Applicant 42",
"status": "generated",
"template": {
"_id": "6801a2b3c4d5e6f7a8b9c0d2"
},
"smartBatch": {
"_id": "6801a2b3c4d5e6f7a8b9c0d3"
},
"client": {
"_id": "507f1f77bcf86cd799439013"
},
"pdfEngine": "puppeteer",
"pdfSize": 148320,
"generationDurationMs": 1840,
"generatedAt": "2026-11-24T20:00:04.000Z",
"externalRefId": "applicant-42",
"rowIndex": 0,
"createdByChannel": "api",
"downloadUrl": "/v2/smart-reports/6801a2b3c4d5e6f7a8b9c0d1/download",
"htmlUrl": "/v2/smart-reports/6801a2b3c4d5e6f7a8b9c0d1/html",
"createdAt": "2026-11-24T20:00:00.000Z",
"updatedAt": "2026-11-24T20:00:04.000Z"
}
}

Webhooks & MCP Integration​

  • Polling vs Webhooks: For asynchronous runs, you can either poll GET /v2/smart-reports/{id} until data.status settles ("generated", "sent", or "failed"), or subscribe to webhook events (smart_batch_report_generated, smart_batch_report_generation_failed, smart_batch_report_sent, smart_batch_report_delivery_failed). See Smart Reports Webhooks.
  • MCP Equivalent: AI agents can retrieve a report record using the smart_report_get MCP tool. See MCP and AI Agents.

Notes​

  • Missing reports or reports belonging to another client return 200 OK with { "data": null } rather than 404.
  • downloadUrl and htmlUrl are relative API paths that can be appended to https://api.verifik.co (or https://ai.verifik.co).