Dashboard API reference
The dashboard API is mounted by the daemon (voicegw serve) under
the /api/ prefix on the same port as the public HTTP API
(/v1/*) and the React SPA (/). The default port is 8080; the
serve.port key in voicegw.yaml overrides it.
Start the daemon (the dashboard API ships with it):
GET /api/status
Returns the configuration status of all providers, registered models, and fallback chains. Response:GET /api/costs
Return cost summary for a period, optionally filtered by project. Includes per-project breakdown when no project filter is applied. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
period | string | "today" | One of: today, week, month, all. |
project | string | null | Filter by project ID. |
GET /api/latency
Return latency statistics, optionally filtered by project. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
period | string | "today" | One of: today, week. |
project | string | null | Filter by project ID. |
GET /api/logs
Return recent request logs. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 100 | Number of rows to return (1-1000). |
modality | string | null | Filter: stt, llm, or tts. |
project | string | null | Filter by project ID. |
timestamp, project, modality, model_id, cost_usd, total_latency_ms, status.
Example:
GET /api/overview
Return aggregated dashboard overview statistics. This endpoint combines multiple queries into a single response for the dashboard’s summary cards. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
project | string | null | Filter all stats by project ID. |
GET /api/projects
List all configured projects with today’s stats. Response:Static File Serving
The dashboard also serves the React frontend’s built assets. If the frontend has been built (src/dashboard/frontend/dist/ exists), the dashboard serves:
GET /— the React app’sindex.htmlGET /assets/*— bundled JavaScript, CSS, and other static files- All other paths fall through to
index.htmlfor client-side routing (SPA fallback)
GET / returns an error message with build instructions.