Skip to content
Get started

Dashboard

Use with an AI tool

Curva has a built-in, read-only web dashboard. It is one small page (HTML, CSS and plain JavaScript, no external requests) that reads the same JSON API your code uses.

Terminal window
curva dashboard # opens http://127.0.0.1:7777/dashboard in your browser
curva dashboard --port 9000 # or on any other port

curva dashboard shows what the Python and TypeScript SDKs have run on this machine: it reads ~/.curva/curva.db, the database they write to when they start Curva themselves (--db <file> shows another one). A server you started with curva serve has the same page at /dashboard.

The page never asks for an API key on a keyless local server. If the server has API keys, an API key field appears: paste one and press Unlock. When more than one project has decisions, a Project menu in the top bar switches between them, so one dashboard covers every app that uses Curva. A link can open a view directly: /dashboard?project=support&days=90&tab=decisions.

The page checks for new decisions every 5 seconds and updates itself, so you never reload it. The button in the top bar switches between a light and a dark theme.

The Overview leads with one large chart. Click Decisions, Spend or Speed above it to switch what it plots. Latest decisions beside it updates live: a new decision slides in and pushes the others down, and only the digits of a total that changed roll to the new value. On Calibration and Drift, click a question to load it. If you’ve turned on reduced motion, none of this animates.

View Source Shows
Overview GET /v1/summary For the last week, month, quarter, year, 2, 3 or 5 years: how many decisions, what the model provider charged (or what your price list makes it), the average speed (the whole time a decision took, waiting and retries included), the cost per 1,000 decisions and, when decisions carried a time limit, the share answered in time, for calls Curva listened to the calls, the median answer time after the caller stops, the deadlines missed and the actions taken by name, three line charts (decisions, spend and speed per day, week, month or quarter, also as a table), the same numbers per model, and the five latest decisions
Decisions GET /v1/audit The project’s decisions, newest first, 25 per page, in plain words: when, every answer with how sure Curva was (“Team: billing, 95% sure”, with unsure and calibrated tags), model, speed, cost, and the mode, config and id. A decision made in a voice call has a Call button that lists that call’s decisions together
Calibration GET /v1/calibration For one question: labels collected against the 30 needed, the calibrator if one was kept (Curva keeps one only when it beats the raw probabilities on held-out labels), accuracy, ECE, Brier and automation before and after calibration, and a reliability diagram (predicted confidence against observed accuracy, with the diagonal a calibrated model follows)
Drift GET /v1/drift For one question: the weekly answer mix as stacked bars, average confidence per week, a table of the same numbers, and a warning when the latest week is flagged as drift

The question pickers suggest the keys found in the project’s latest decisions. See Calibrate with feedback and Drift for what the numbers mean.

These are screenshots of a test project on a laptop, with real decisions from 1 November 2026 on real models.

Overview. One chart leads, and the latest decisions sit beside it.

The Overview: Decisions, Spend and Speed above one large chart, with the latest decisions beside it

It follows your theme.

The same Overview in the dark theme

Decisions. Every decision in plain words, with its model, speed and cost.

The Decisions view: a table of decisions with their answers, model, speed, cost and id

Calibration. How many labels a question has, and how accurate it was before and after calibration.

The Calibration view for one question: labels collected and a table of accuracy before and after

Drift. How a question’s answers change week by week, with a warning when they shift.

The Drift view for one question: stacked weekly bars of answers, and a drift warning

  • The page is public; the data is not. GET /dashboard is served without a key because the page contains no data. Every request it makes for data goes to the API and needs a key like any other client.
  • The key stays in the browser tab. It is kept in sessionStorage (gone when the tab closes) and sent only to this server, in the Authorization header. The page’s Content-Security-Policy blocks requests to any other origin.
  • Use TLS. Anyone who can watch the traffic can read the key. On anything but localhost, put Curva behind a reverse proxy that terminates TLS (Caddy, nginx or a cloud load balancer), as in Self-hosting.
  • Give the dashboard its own key (curva keys create --name dashboard) so you can revoke it without touching production clients.