Dialer campaign stats (tenant-wide KPI strip)
Aggregate Active / Paused / Completed-today / 30-day abandon-rate totals across every non-deleted campaign the tenant owns. Source of truth for the dialer landing-page KPI tiles — computed in a single COUNT(*) FILTER / AVG(…) FILTER pass so the numbers do not depend on how many paginated campaign rows the operator has loaded.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Query Parameters
IANA timezone (e.g. 'America/New_York') used to compute the operator-local day boundary for the 'completed today' tile. Defaults to UTC when omitted or malformed.