Skip to content
BusinessUpcomingSessionStatsObject

Aggregate stats about a business's upcoming sessions, shaped for KPI and chart consumers. See Business.upcomingSessionStats.

Fields

totalCountInt!

Total count of upcoming sessions across all activities. Status is scheduled or active and endAt is in the future. Use this for KPI displays; clients are expected to cap visible values (e.g. "99+") on their own.

Per-day counts for the next daysAhead days, in business timezone. Always exactly daysAhead entries — zero-count days are emitted so bar charts get a complete window without client-side padding.

Used in

BusinessUpcomingSessionStats