qvac-service/server.ts; schemas in src/features/redact/analysis-contract.ts.
Started by npm run qvac:service.
Address
Origins
Requests with anOrigin header are accepted only from http://localhost:* and http://127.0.0.1:*.
Any other origin gets 403 origin_forbidden.
Requests without an Origin header (curl, scripts) are accepted.
OPTIONS returns 204 with access-control-allow-methods: GET, POST, OPTIONS and access-control-allow-headers: content-type, accept.
GET /health
Models load on the first analysis, not at startup.
POST /v1/analyze-page
Content-Type: application/json.
One page per request.
Request
Response 200
label values are listed in Labels and privacy levels.
Errors
Every error body is{ "error": { "code": string, "message": string } }.
Limits
After a
504, busy stays true until the underlying model call finishes.