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
| Field | Meaning |
|---|---|
registered | Registrations that are not cancelled. |
checkedIn | Distinct tickets scanned, not raw scans. A two-day expo scans the same ticket twice and that is one person through the door. |
revenueCents | A 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.