Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.docex.dev/llms.txt

Use this file to discover all available pages before exploring further.

Verify

Accept or correct analysis results. Verification feedback improves model accuracy and may trigger billing adjustments.

SDK

// Accept the result
await docex.verify(jobId, { accepted: true });

// Submit corrections
await docex.verify(jobId, {
  corrections: {
    legal_name: "ACME LOGISTICS LLC",
    license_no: "1019389"
  }
});

CLI

# Accept a result
docex verify job_abc123 --accept

# Submit corrections from a JSON file
docex verify job_abc123 --corrections corrections.json

# Interactive mode
docex verify job_abc123 --interactive

Billing impact

Accepted results confirm the charge. Corrections may trigger a partial refund if the original result was materially incorrect. The exact policy depends on the provider and error type.