プロ向けの REST API
DocUnderstandにはローカルREST APIが搭載されています。FileMaker、Xojo、スクリプトや独自のツールからHTTPで文書を送信すると、ファイル名、Finderタグ、構造化データが返されます。
curl -X POST http://localhost:8787/process \ -H "Authorization: Bearer ••••••••" \ -H "Content-Type: application/json" \ -d '{"filename":"請求書.pdf", ...}'
// foto.jpgをBase64にエンコードSet Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ; "http://localhost:8787/process" ]
' 契約書.pdfをBase64にエンコードVar req As New URLConnectionreq.SetRequestContent(json, "application/json")Var antwort As String = req.SendSync("POST", _ "http://localhost:8787/process")
{ "filename": "2026-08-10 T-Mobile…pdf", "documentType": "請求書", "tags": ["請求書", "モバイル"], "text": "2026年8月分の請求書です …", "extraction": { "invoiceNumber": "RG-2026-081045", "grossAmount": 99.00 }}
{ "filename": "2026-07-14 休暇ビーチ.jpg", "documentType": "写真", "tags": ["写真", "休暇"], "exif": { "camera": "iPhone 16 Pro", "dateTaken": "2026-07-14 16:32", "gpsLocation": "43.71° N, 7.26° E" }}
{ "filename": "2026-03-01 Acme 賃貸契約書.pdf", "documentType": "契約書", "tags": ["契約書", "賃貸"], "text": "Acme GmbHとの賃貸借契約書 …", "extraction": { "customerNumber": "K-88213", "servicePeriod": "2026-03-01から" }}