전문가를 위한 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부터" }}