TypeScript example
This example uses Node.jsfetch from a trusted server. Keep THE_WO_API_KEY
in a secret manager or server environment variable. Do not call this protected
endpoint directly from public browser or mobile code.
201 Created for a completed extraction. Inspect documentType,
extracted, missingFields, riskFlags, confidence, and usage in the
response. See the document contract
for response fields and Errors for error
handling. The example URL is fictional; replace it with an authorized,
retrievable document URL.