api.ducevox.com

Ducevox API

Orchestrator, tools, and interfaces. The public site is at ducevox.com.

Chat

Web chat interface with streaming responses and real-time pipeline logs.

/chat

Dashboard

Tasks, interactions, delegations, skill usage, and system stats.

/dashboard

Test Runner

Run unit and routing tests across all 25 skills with live results.

/test-runner

WAHA Monitor

WhatsApp message ingestion, AI insight extraction, and pipero dictionary.

/waha

Redis → D1 Sync

Pull all customers, piperos, and orders from Redis into D1 with live progress log.

/sync

Health Check

Verify the API is running and all bindings are connected.

GET /api/health

API Endpoints

Orchestration

POST /api/orchestrate Full SSE orchestration
POST /api/chat Simple streaming chat
POST /api/voice OVOS / HiveMind voice

Tasks & Dashboard

GET /api/tasks Active tasks
POST /api/tasks Create task
GET /api/dashboard Aggregated stats

Location & Beacons

POST /api/location/beacon Receive BLE events
GET /api/location/state Current location
GET /api/location/zones Beacon zones
GET /api/location/patterns Routine analysis

Agent Mesh

GET /api/mesh/id Agent ID
GET /api/mesh/peers List peers
POST /api/mesh/peers Register peer
POST /api/mesh/signal Receive signal

WAHA WhatsApp Monitor

POST /api/waha/webhook WAHA message webhook
GET /api/waha/stats Monitor stats
GET /api/waha/messages Stored messages
GET /api/waha/insights Extracted insights
GET /api/waha/chats Chat list
POST /api/waha/analyze Trigger analysis
GET /api/waha/dictionary Pipero dictionary

Redis → D1 Sync

GET /api/admin/sync/stream Live-streaming full sync (SSE)
GET /api/admin/sync-customers Bulk customers → D1
GET /api/admin/sync-piperos Bulk piperos → D1
GET /api/admin/sync-orders Bulk orders → D1

New Skills

GET /api/reminders List pending reminders
GET /api/notes Search notes
GET /api/feedback Feedback history

Knowledge Graph

GET /api/intel/status Graph stats + budget
POST /api/intel/run Trigger crawlers (SSE)
POST /api/kg/enrich Enrich node summaries + extract sub-entities (SSE)
POST /api/kg/scan-connections AI scan for implicit edges (SSE)
GET /api/graph/node/:id/detail Node detail + edges
GET /api/questions/:id/kg-context Project-scoped KG context

Integrations

GET /api/whatsapp Webhook verification
POST /api/whatsapp Incoming messages
GET /api/notifications/stream SSE push to Pi
GET /api/media/:id Shareable media