TeaLab API (v0.1.0) This is the plain-text companion to the static HTML reference. It is optimized for headless/bot clients. Source: api/openapi/swagger.json HTML: /docs/api/reference.html JSON: /docs/api/openapi.json Multi-tenant job orchestration API with JWT auth and SSE telemetry. Endpoints: - POST /api/auth/login — Log in and receive a JWT - GET /api/auth/me — Current session details - POST /api/auth/signup — Create a tenant and admin account - GET /api/health — Aggregated health rollup - GET /api/jobs — List jobs for the tenant - POST /api/jobs — Create a job - GET /api/jobs/{jobID} — Fetch a job - POST /api/jobs/{jobID}/cancel — Cancel a job - GET /api/jobs/{jobID}/events — Stream job events (SSE) - GET /api/jobs/events — Stream tenant job events (SSE) - GET /api/jobs/types — List configured job types - GET /api/metrics/summary — API metrics summary - GET /healthz — Liveness probe Headless hint: request /docs/api/?format=text or set a curl/wget style User-Agent to get this file directly.