Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-chat.die-coaching-akademie.de/llms.txt

Use this file to discover all available pages before exploring further.

All /admin/... endpoints require ADMIN_TOKEN.
Prefer the X-Admin-Token header for scripts and diagnostics. Query parameters are convenient for opening the dashboard but can appear in browser history.

Auth behavior

ConditionResponse
ADMIN_TOKEN missing or placeholder404 Not Found
Token configured but request token is wrong401 Unauthorized
Token is validEndpoint response

GET /admin/health

{
  "status": "ok",
  "knowledge_base_entries": 219,
  "openai_configured": true,
  "analytics_enabled": true,
  "started_at": "2026-05-02T12:00:00+00:00",
  "uptime_seconds": 123,
  "git_commit": "5de7f63",
  "service": {
    "app": "Website Chat - die coachingakademie",
    "deployment": "Hetzner CX23, systemd chatbot.service, Nginx reverse proxy",
    "internal_port": "127.0.0.1:8000"
  }
}

GET /admin/analytics/summary

Returns aggregate chat counts, fallback count/rate, average response time, chats per day, and top topics.

GET /admin/analytics/questions

Returns most frequent scrubbed questions.
curl -H "X-Admin-Token: <token>" \
  "https://chat.die-coaching-akademie.de/admin/analytics/questions?limit=10"

GET /admin/analytics/keywords

Returns most frequent normalized keywords.

GET /admin/dashboard

Returns the internal HTML dashboard. The page calls the JSON endpoints above from the browser after the token is entered or provided in the URL.