Docs Service

Status
Loading...
Version
-
Authentication
No token

Work-file API /api/files

Upload once, then work by hash. The upload starts a background job (OCR + analysis); while it runs, calls wait up to 60 s and then answer 202 — just call again. pages (e.g. 1,3) works on a page subset without a new OCR.

Response
Awaiting request…

Legacy endpoints DEPRECATED

Still served unchanged (they send a Deprecation header); removal follows once the app uses /api/files.

Translate API

Tip: pick a small file for faster local testing.

Response
Awaiting request…

Translate API with Hash

Example: shasum -a 256 your-file.pdf

Skips Document AI when the hash already exists in cache.

Response
Awaiting request…

Overlay API

Paste the segments array you received from /api/translate or craft your own.
Response
Awaiting request…

Document Analysis API

Force a fresh response from the selected provider.

Requires the corresponding provider API key in your .env.

Response
Awaiting request…