Public-safe examples for building lightweight API gateway health checks and status reporting.
Use this repository to:
- run a local health check,
- publish a simple status page,
- document incidents transparently,
- help users distinguish setup errors from provider or gateway issues.
Copy-Item .env.example .env
python .\scripts\health_check.pyOPENAI_BASE_URL=https://your-gateway.com/v1
OPENAI_API_KEY=sk-example-xxx
OPENAI_MODEL=example-model- Aggregate uptime.
- Current incident status.
- A short explanation of affected models or routes.
- Expected next update time.
- Workaround or fallback guidance.
- Real API keys.
- Server IPs.
- Private provider routes.
- Raw customer prompts.
- Internal cost or margin data.
scripts/health_check.py: minimal OpenAI-compatible health check.status-page/index.html: static example status page.templates/incident-report.md: incident note template.
MIT