POST  /api/v1/investigate

A full investigation of one picked entity by Verety's investigator — the same one the app runs: registry and domain checks, then sanctions, ownership, adverse media and the other sources it decides to follow. One call waits for the result, usually under two minutes.

Request body

Address the entity one of three ways — whichever your system already holds:

// 1 — our id, from a prior search { "entityId": "denue-4325279" } // 2 — official registration number: skip search entirely { "country": "BR", "registrationNumber": "07918048" } // 3 — registry + ref, round-tripped from any search result { "registry": "INEGI DENUE", "registryRef": "4325279" }
FIELDDESCRIPTION
entityId / country+registrationNumber / registry+registryRefThe entity address — exactly one form. The response echoes resolvedBy.
goalsOptional. Why you are checking, which sets what the investigation focuses on: any of compliance, risk, partnership, employer, contractor. Defaults to ["compliance"]. Same goals as the app.
maxCacheAgeDays · forceRefreshOptional. How old a cached registry lookup may be; 0 or forceRefresh: true fetches everything fresh.

A driver or a person

Instead of an entity, send driver (KYD, US and Canada) or person (KYC), with a driver's documents in files, and monitor: true to re-check them every month. The fields, the documents, the pass / review / fail result and the refusals are on Drivers and people.

Response

FIELDDESCRIPTION
checkId · saved · urlWhen your account keeps API and MCP checks (Settings → Checks), the check is saved: checkId opens it again with GET /api/v1/checks/{id}, and url opens it in the app. Otherwise checkId and url are null and nothing is kept.
entity{ id, name, country }.
decisionapprove | review | decline — what this check concluded. A recommendation for a person to act on, never an approval by itself.
headline · summaryThe one-line recommendation, and the plain-language conclusion written from the consulted sources.
riskScore · complianceScore0–100, computed from the findings — same findings, same scores.
confidence0–1 — how well the sources covered the entity and corroborated each other.
findings[]Each: id · section · finding (plain language) · risk LOW/MED/HIGH · compliance PASS/REVIEW/FAIL · sources[]. See Findings & scores.
notChecked[]What was not checked, each with its reason.
nextSteps[]Manual actions the investigator recommends. When the check is saved they also become tasks.
goals · source · createdAtThe goals it ran under, how it started (api), and when.

Example

curl -X POST -H "x-api-key: vk_live_…" -H "Content-Type: application/json" \ -d '{"entityId":"denue-7785482","goals":["compliance"]}' \ https://app.verety.ai/api/v1/investigate { "checkId": "3f1c2a90-7b4e-4d2a-9c61-0e8f5a7d2b14", "saved": true, "source": "api", "entity": { "id": "denue-7785482", "name": "GRUPO BIMBO", "country": "MX" }, "decision": "review", "riskScore": 20, "complianceScore": 70, "confidence": 0.8, "headline": "Review recommended — a local establishment trading under the Bimbo brand, not the national corporation.", "summary": "Small establishment (0–5 employees) in Arriaga, Chiapas…", "findings": [ { "id": "f-domain-email", "section": "Business domain", "risk": "MED", "compliance": "REVIEW", "finding": "No business email domain on file for this establishment.", "sources": ["ENTITY CONTACT INFO ON FILE"] } ], "notChecked": [{ "capability": "ownership", "reason": "Mexico publishes no beneficial-ownership register." }], "nextSteps": ["Ask the supplier which legal entity will sign the contract."], "url": "https://app.verety.ai/demo?entityId=denue-7785482&name=GRUPO%20BIMBO", "resolvedBy": "entity_id" }

Errors

STATUSCODEWHEN
402insufficient_creditsNo checks left (QUOTA_EXCEEDED), or a failed payment past its grace period (PAST_DUE). Nothing ran; the body has upgrade_url and topup_url.
422missing_details · details_mismatchA driver or person: a required detail is missing, or what was sent differs from the documents. Nothing ran and no check was used.
403api_access_requiredThe account has no API and MCP access: Growth and above, or any credit pack.
502investigation_failedThe investigator stopped with an error; message says why.

Addressing errors are on Errors & limits.

Nothing is fabricated. Findings come only from consulted sources. What could not be checked is listed in notChecked with the reason — never filled in.
ON THIS PAGE