Snapshot yesterday's per-org request counts from Redis to daily_usage
Read Redis quota_day:org:<uuid>:<YYYY-MM-DD> counters and UPSERT into public.daily_usage for yesterday (UTC). Runs 00:05 UTC daily per 0015_daily_usage_pg_cron.sql. The Redis counters live 48h so yesterday's bucket is still readable when this fires.
Anonymous (ip:*) buckets are intentionally skipped — they have no foreign key target in organizations. Orgs with zero daily count still get a row so the dashboard can distinguish "quiet day" from "no data yet."
Headers
Response
Successful Response
Changes
Changed in 1 of the 8 revisions of this API.13
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●