Authentication
Send your key in the X-API-Key header. Keys are scoped: each key sees only its own jobs — foreign job ids 404 — and job creation is limited by the key's daily and monthly quota (exceeding returns 429). Open deployments with no key configured skip auth entirely.
Endpoints
Convert, poll, download
For the merge direction, upload tex + edited, and ideally the base .docx you originally sent out. Without a base, the compiled pdf is required so the base can be regenerated.
Issuing keys (self-hosted)
The admin key — set via MANUSCRIPTA_API_KEY — sees every job and manages customer keys. Customer keys are stored hashed; usage rows survive job cleanup, which is the metering a billing layer reads.
Configuration
Everything is an environment variable.