OCR Statement Engine
Self-hosted document extraction. All processing is local; no data leaves this machine.
API Endpoints
POST /api/documents/registerRegister a document (multipart file or JSON with filePath)
POST /api/jobsStart processing (body: {"documentId":"..."})
GET /api/jobs/[jobId]Job status
GET /api/jobs/[jobId]/resultExtraction result JSON
GET /api/artifacts/[jobId]List debug artifacts (if enabled)
Configure storage in .env (see .env.example). Run migrations: npm run db:migrate