Unified home-overview dashboard
All home-overview widgets in a single request: the summary (message / agent / API-call / spend counters), per-channel health, usage timeline, and recent activity are computed in parallel and returned as one payload. Use the optional ?days= query param (default 30, max 365) for the usage-timeline window. Prefer this over polling the four widget routes individually — each leg shares cache keys with those routes. An always-on read — transient database availability degrades to a zero-valued payload (200) rather than an error.
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
Usage-timeline window in days (default 30, capped at 365).
1 <= x <= 365Response
data carries summary, channelHealth, usageTimeline, and recentActivity objects, within the standard { data, meta } envelope.
data carries summary, channelHealth, usageTimeline, and recentActivity objects, within the standard { data, meta } envelope.