Skip to main content
GET
Dashboard sparkline trends

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Query Parameters

range
enum<string>

Range window (default 7d)

Available options:
7d,
30d

Response

Trend + comparison payload

Sparkline trends + period-over-period comparison for the overview dashboard

range
string
required
comparison
object
required