{"message":"Accountability Buddy API","workflowEndpoints":{"POST /workflow/run":"Run full draft → review → send pipeline","POST /workflow/draft":"Generate a draft message (no send)","POST /workflow/review":"Review an existing draft (no send)","GET  /workflow/providers":"List configured LLM providers & channels"},"nudgeEndpoints":{"POST /nudge":"Run full nudge pipeline (context → draft → review → send)","POST /nudge/draft":"Generate a nudge draft (no send)","POST /nudge/context":"Inspect assembled client context payload"},"whatsappEndpoints":{"POST /whatsapp/initialize":"Start WhatsApp client and generate QR code","GET  /whatsapp/status":"Get client status and QR code string","POST /whatsapp/disconnect":"Destroy the WhatsApp session","POST /whatsapp/send":"Send a message { to, message }","GET  /whatsapp/messages":"Get all stored messages","GET  /whatsapp/messages/:phone":"Get messages for a specific phone number"},"sheetsEndpoints":{"GET  /sheets":"Google Sheets operations"},"emailEndpoints":{"POST /email":"Send email directly"},"rtdbEndpoints":{"GET  /rtdb/test":"Firebase RTDB connectivity check","POST /rtdb/users/:userId":"Create/overwrite user node","GET  /rtdb/users/:userId":"Read user node","PATCH /rtdb/users/:userId":"Partial update user node","DELETE /rtdb/users/:userId":"Delete user node","POST /rtdb/users/:userId/goals":"Push new goal (auto-key)","GET  /rtdb/users/:userId/goals":"Read all goals for user"},"telegramEndpoints":{"GET  /telegram/test":"Send a test message to the configured chat ID","POST /telegram/send":"Send a message to the configured chat ID","POST /telegram/send/:chatId":"Send a message to a specific chat ID"},"llmEndpoints":{"GET  /llm/providers":"List configured LLM providers and their status","POST /llm/chat":"Send a test message to an LLM provider"},"supabaseEndpoints":{"GET  /supabase/test":"Verify Supabase connectivity","GET  /supabase/:table":"Fetch rows from a table","POST /supabase/:table":"Insert row(s) into a table","GET  /supabase/:table/:id":"Fetch a single row by id","PATCH /supabase/:table/:id":"Update a single row by id","DELETE /supabase/:table/:id":"Delete a single row by id"},"coachEndpoints":{"POST /coach/user":"Send user message through the coach graph","POST /coach/system-trigger":"Cron-triggered nudge invocation","POST /coach/admin-resume":"Admin resumes an escalated thread"},"ghostedEndpoints":{"POST /ghosted/register-device":"Register Android device (phone + FCM token)","POST /ghosted/send-message":"Send WhatsApp message via FCM to device","POST /ghosted/message-sent":"Confirm message sent by Android app","POST /ghosted/message-failed":"Report failure → trigger whatsapp-web.js fallback","GET  /ghosted/messages/:phone":"Get all messages for a phone number","POST /ghosted/contacts":"Upsert display-name → WhatsApp-number mapping","GET  /ghosted/contacts/:phone":"List contacts for a phone number","DELETE /ghosted/contacts/:phone/:displayName":"Delete a contact mapping"}}