GET /api/studio/stats/[id]

Live registered, checked-in and revenue counts for one event.

What the studio dashboard polls. Three numbers, computed on every request.

Authentication

The caller's studio session. The event must belong to the caller's own organisation — an event id from another tenant returns 404, not somebody else's numbers.

Response

FieldMeaning
registeredRegistrations that are not cancelled.
checkedInDistinct tickets scanned, not raw scans. A two-day expo scans the same ticket twice and that is one person through the door.
revenueCentsA SUM over ledger_entries of kind ticket_sale, never a stored total — a cached figure drifts the moment a refund lands.

Sent cache-control: no-store. The number is only useful if it is current.

On this page