Developers

HTTP API

Main routes, origin checks and download contracts.

The API is prefixed by /api, except for health.

Health

MethodRoutePurpose
GET/healthService status and non-sensitive information.

Providers

MethodRoutePurpose
GET/api/settings/credentialsMasked credential metadata.
POST/api/settings/credentialsSave key and endpoint by provider.
POST/api/settings/test-connectionTest the connection.
POST/api/settings/modelsRetrieve available models.
POST/api/settings/test-translationTranslate an excerpt.
POST/api/settings/sandbox-extractExtract a passage from a temporary document.

Projects

MethodRoutePurpose
POST/api/jobs/uploadImport and prepare a project.
GET/api/jobsList projects.
GET/api/jobs/{id}Read a project.
GET/api/jobs/{id}/segmentsRead its segments.
POST/api/jobs/{id}/startStart or resume.
POST/api/jobs/{id}/pausePause.
POST/api/jobs/{id}/retryReset failures.
POST/api/jobs/{id}/update-configModify an allowed configuration.
GET/api/jobs/{id}/downloadReconstruct and download.
DELETE/api/jobs/{id}Delete the project and dedicated files.

Glossaries and events

GET, POST and DELETE under /api/glossaries, plus GET /api/events for the SSE stream.

Origins

There is no application token. Browser write requests must come from the served app or an explicit ALLOWED_ORIGINS value.

Download

The response carries Cache-Control: no-store, X-Content-Type-Options: nosniff and X-TraDoc-Export: partial|final. The MIME type follows the reconstructed extension.