Agent API

API Reference

Detailed technical reference for the canonical POST /api/v2/audit endpoint.

POSThttps://tryverdict.xyz/api/v2/audit

Request Body

The request body must be a JSON object containing exactly one required field:

FieldTypeRequiredDescription
urlstringYesThe valid public HTTP/HTTPS URL of the company or software startup to investigate.
Request Example
{
  "url": "https://linear.app"
}

Response Body (200 OK)

The endpoint returns a structured JSON payload summarizing the audit verdict and evidence coverage:

PropertyTypeDescription
reportIdstringPermanent unique identifier for the persisted audit memo.
overallScorenumberGrowth Readiness Score from 0 to 100.
company_namestringNormalized company/product name identified from root evidence.
identityobjectNormalized identity profile (company_name, inferred_description, target_audience, primary_cta).
the_verdictobjectExecutive synthesis (status, primary_constraint, highest_opportunity, estimated_impact).
score_interpretationstringQualitative narrative explaining the overall Growth Readiness Score.
priority_matrixarrayRanked action items with task, why, impact, and effort ratings.
pillarsobjectQualitative evaluations per growth dimension (confidence, reason, strengths, weaknesses) without numeric score.
sourcesarrayAdmitted evidence sources supporting the audit (url, path, role, category, keyFindings).
pagesInspectednumberTotal number of pages successfully acquired/fetched during the investigation pass.
pagesAcceptednumberTotal number of acquired pages admitted through the relevance boundary.
stopReasonstringInvestigation completion reason (e.g. 'sufficient', 'page_budget', 'no_candidates').
evidenceCoverageobjectAggregate evidence coverage metrics (pagesTotal, pagesAcquired, pagesAccepted, charsTotal, categories).

HTTP Status Codes

StatusCodeMeaning
200OKAudit successfully completed and persisted.
400INVALID_REQUESTInvalid JSON request body or unexpected request shape.
400INVALID_URLMalformed URL, non-HTTP scheme, or forbidden IP address.
402PAYMENT-REQUIREDx402 payment challenge issued with Base USDC payment requirements.
422AUDIT_UNAVAILABLETarget site is unreachable, blocked, or not auditable.
503AUDIT_TEMPORARILY_UNAVAILABLETransient model or upstream network capacity limitation.
500AUDIT_FAILEDUnhandled internal error during audit execution.
500X402_CONFIGURATION_ERRORServer-side x402 payment rail misconfiguration.