OCR Statement Engine

Self-hosted document extraction. All processing is local; no data leaves this machine.

Test APIs →

API Endpoints

POST /api/documents/register

Register a document (multipart file or JSON with filePath)

POST /api/jobs

Start processing (body: {"documentId":"..."})

GET /api/jobs/[jobId]

Job status

GET /api/jobs/[jobId]/result

Extraction result JSON

GET /api/artifacts/[jobId]

List debug artifacts (if enabled)

Configure storage in .env (see .env.example). Run migrations: npm run db:migrate