8080 (mapped to 19000 in the default docker-compose). Use it to submit jobs, list results, check worker status, and configure webhooks.
Base URLs
Endpoints at a glance
Detail pages for every endpoint are generated from the OpenAPI spec — see the Greenlight endpoints group in this sidebar.
Authentication
Three optional schemes:- Basic auth — set
GREENLIGHT_USERNAME/GREENLIGHT_PASSWORD. - Bearer token — set
SHARED_API_SECRET=1andSHARED_API_KEY=<token>; clients sendAuthorization: Bearer <token>. - Open — leave all of the above empty. Useful behind a trusted network gateway.
Content-Type
All POST payloads areapplication/json unless otherwise noted.
Error shape
4xx / 5xx responses are JSON with at least:Rate limiting
The built-in server does not rate-limit. Enforce limits at the reverse proxy layer. Internal worker concurrency is governed byMAX_WORKERS (default 4 per replica).
Idempotency
The/push endpoint is not idempotent. Submitting the same payload twice enqueues two jobs. Use document_id to correlate server-side if you need dedup semantics.